摘要:
1 /*电压表 精确到小数点后面三位*/ 2 /*连线:电位器接IN0,AD_CS接CS0,CS1接KEY/LED_CS*/ 3 #include<reg52.h> 4 typedef unsigned char uchar; 5 xdata uchar LED_CS _at_ 0x9000; 6 xdata uchar LED_OUTSEG _at_ 0x9004; 7 xdata uchar LED_OUTBIT _at_ 0x9002; 8 9 xdata uchar AD_CS _at_ 0x8000;10 xdata uchar AD_MODE _at_ 0x8003;1 阅读全文
posted @ 2013-05-22 08:30
蓬莱仙羽
阅读(484)
评论(0)
推荐(0)

浙公网安备 33010602011771号