赞
踩
目录
main()
timer
Key
Seg
Led
Onewire
ds1302
IIC
PWM
定时器配置
超声波
串口
超声波+串口的main()
sbit DQ = P1^4; //单总线接口
sbit SCK = P1^7;
sbit SDA = P2^3;
sbit RST = P1^3;
sbit SDA = P2^1;
sbit SCL = P2^0;