《初学者C51自学笔记》之ADC0804
#include reg52.h #define uchar unsigned char #define uint unsigned int sbit rs=P2^4; sbit rw=P2^5; sbit e=P2^6; sbit adcs=P3^5; sbit adrd=P3^0; sbit adwr=P3^3; sbit P23=P2^3; uchar table1 = www.baidu.com ; uchar table2 = LCD1602 test ok! ; uchar table3 = 0123456789 ; //延时函数,在12MHz的晶振频率下 //大约50us的延时 void d
[单片机]