熱門(mén): 51單片機(jī) | 24小時(shí)必答區(qū) | 單片機(jī)教程 | 單片機(jī)DIY制作 | STM32 | Cortex M3 | 模數(shù)電子 | 電子DIY制作 | 音響/功放 | 拆機(jī)樂(lè)園 | Arduino | 嵌入式OS | 程序設(shè)計(jì)
![]() |
發(fā)布時(shí)間: 2021-5-17 10:45
正文摘要:#include <reg52.h> unsigned code TAB[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f}; unsigned char num=60,shi,ge; void INIT () { TMOD=0x01; TH0=(65536-50000)/256; TL0=(65536-50000)%2 ... |
Powered by 單片機(jī)教程網(wǎng)