熱門: 51單片機(jī) | 24小時(shí)必答區(qū) | 單片機(jī)教程 | 單片機(jī)DIY制作 | STM32 | Cortex M3 | 模數(shù)電子 | 電子DIY制作 | 音響/功放 | 拆機(jī)樂園 | Arduino | 嵌入式OS | 程序設(shè)計(jì)
![]() |
發(fā)布時(shí)間: 2021-4-27 15:42
正文摘要:#include<reg51.h> #define uchar unsigned char #define uint unsigned int #define out P2 sbit pos=P0^0; sbit neg=P0^1; uchar code turn[]={0x02,0x06,0x04,0x0c,0x08,0x09,0x01,0x03}; ... |
Powered by 單片機(jī)教程網(wǎng)