ºìÁªLinuxÃÅ»§
Linux°ïÖú

¼±Çó£¡ÇóÒ»¸öLinuxϵͳÏÂCÓïÑÔ±à³ÌÌâ

·¢²¼Ê±¼ä:2011-12-09 18:47:32À´Ô´:ºìÁª×÷Õß:´ËÈ˲»Õý¾­
¼±Çó°¡£¡ÄÄλ¸ßÊֻᣬÇë°ïæ×öһϣ¬Ð¡µÜ¸Ð¼¤²»¾¡.лл£¡
ÌâÄ¿ÈçÏ£º
ÔÚÒ»¸ö¹¤Òµ¿ØÖÆϵͳÖУ¬ADÄ£¿é¸ºÔð²É¼¯µç½â³ØÖеÄҺλÊý¾Ý£¬Êý¾Ý²É¼¯ÖÜÆÚ¸ù¾Ýʵ¼ÊÇé¿öÑ¡¶¨£¬È磺ADÄ£¿é´¦Àíʱ¼äΪ200us£¬Ôò²ÉÑùÖÜÆÚÒ²¿ÉѡΪ200us¡£²É¼¯µÄҺλÊý¾Ý¾­¹ý¼ÆËã´¦Àí£¬Æä½á¹ûÔÚLCDÉÏÏÔʾÇúÏßͼÐβ¢°´Ò»¶¨ÖÜÆÚ½øÐÐˢС£Í¬Ê±£¬Èç¹ûËù²É¼¯µÄҺλÊý¾Ý´ïµ½Ò»¶¨µÄÉÏÏÞ»òÕßÏÂÏÞ£¬½«½øÐÐÉù¹â±¨¾¯£¬¼´·äÃùÆ÷Ãù½Ð£¬LEDָʾµÆÉÁ˸¡£
±¾Éè¼ÆÊ×ÏÈÕë¶ÔÒÔÉÏǶÈëʽӦÓÃϵͳÖдæÔڵĶà¸ö²¢·¢ÈÎÎñ½øÐзÖÎö£¬²¢Éè¼Æ¸÷¸öÈÎÎñµÄÄ£Ä⹦ÄÜ£¬ÖصãÊÇÔËÓòÙ×÷ϵͳ֪ʶ·ÖÎöºÍÉè¼Æ¶à¸öÈÎÎñ¼äµÄͨÐŹ¦ÄÜ£»Æä´Î¸ù¾ÝËùÉè¼ÆµÄ¹¦ÄÜ£¬ÀûÓÃCÓïÑÔ±àд³ÌÐò£¬ÔÚLinux²Ù×÷ϵͳ»·¾³ÏÂͨ¹ýµ÷ÊԺͲâÊÔ.
ÌâÄ¿»ù±¾ÒªÇó£º
£¨1£©·ÖÎö³ÌÐòÖÐÊÇ·ñÐèÒª²ÉÓöàÈÎÎñ·½Ê½£¿ÃèÊöÆäÖдæÔÚÄļ¸¸ö²¢·¢ÈÎÎñ£¿ËµÃ÷¶à¸öÈÎÎñ¼äͨÐŵÄÉú²úÕߺÍÏû·ÑÕß¼°Í¨ÐÅÊý¾ÝÏà¹ØÐÅÏ¢¡£
£¨2£©ÎªÈÎÎñ¼äµÄͨÐÅÑ¡ÔñºÏÊʵÄͨÐÅ»úÖÆ£»
£¨3£©²ÉÓýø³Ì»òÏ̷߳½Ê½ÊµÏÖ¶àÈÎÎñ³ÌÐò£»
£¨4£©×îÖÕʵÏֵijÌÐòÊÇÄ£Äâ³ÌÐò£¬Òò´ËϵͳÖеÄÍâΧÉ豸¹¦ÄÜ£¬È磺ADÊý¾Ý²É¼¯¡¢LCDͼÐÎÏÔʾ¡¢·äÃùÆ÷±¨¾¯ºÍLEDµÆÉÁ˸µÈ¼°Êµ¼ÊµÄÊý¾Ý´¦Àí¹¦ÄÜ£¬ÐèÒª½øÐÐÄ£Ä⣻
£¨5£©³ÌÐòÔÚÔËÐйý³ÌÖÐÓ¦ÄÜÏÔʾ»ò´òÓ¡ÓйØÊý¾ÝµÄ±ä»¯Çé¿ö£¬ÒÔ±ã¹Û²ì¸÷¸öÈÎÎñµÄÔËÐйý³Ì£»
£¨6£©²Ù×÷ϵͳΪLinuxϵͳ£¬¿ª·¢ÓïÑÔΪC¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 6 ÌõÆÀÂÛ

  1. dudutuotuo ÓÚ 2012-12-11 20:51:06·¢±í:

    Ï£ÍûÓдóϺָµ¼

  2. ÓÚ 2012-12-11 15:04:26·¢±í:

    #include sbit P0_0=P0^0; sbit key=P0^1; void delay1s(); unsigned char k,led; void main( ) { TMOD=0X10; led=1; while(1) { if(key) { if (led=1){led=0}else{led=1;} } if(led==1) { P0_0=0; delay1s(); P0_0=1; delay1s(); } else{P0_0=0;} } }void delay1s() { unsigned char i; for(i=0;i<0x02;i++) { TH1=0X3C; TL1=0XB0; TR1=1; while(!TF1); TF1=0; } }

  3. Arthur0219 ÓÚ 2012-10-08 13:35:19·¢±í:

    ³õѧÕߣ¬ÆÚÍûÖÐ

  4. Arthur0219 ÓÚ 2012-10-08 13:34:45·¢±í:

    ͬÑùÆÚ´ýÖÐ

  5. lsj ÓÚ 2011-12-15 13:15:53·¢±í:

    ·¹ý£¡£¡£¡

  6. hyszipper ÓÚ 2011-12-11 14:26:47·¢±í:

    ·¹ý¿´ÏÂ