![]() |
發(fā)布時(shí)間: 2020-8-20 11:21
正文摘要:單片機(jī)源程序如下: #include<reg52.h> //定義一個(gè)數(shù)組,使數(shù)碼管顯示的數(shù)字和數(shù)組元素的下標(biāo)相等 unsigned char code table[]={0x3f,0x06,0x5b,0x4f,0x66, &nb ... |
要是把6個(gè)水位點(diǎn),都接上 放到水塔中測(cè)試就更好了! |
Powered by 單片機(jī)教程網(wǎng)