TIMER0控制單隻LED閃爍 PROTEUS 和51單片機教程(附仿真文件+源代碼)

TIMER0控制單隻LED閃爍 PROTEUS 和51單片機教程 程序C語言源代碼如下: /* INT1中斷5位計數 */ #include<reg51.h> typedef unsigned char uint8; typedef unsigned int uint16; sbit LED = P0^0; uint16 T_Count = 0; void main() { TMOD = 0x01
相關文章
相關標籤/搜索