![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
蓝桥杯
老赵的小赵
这个作者很懒,什么都没留下…
展开
-
CT107蓝桥杯驱动-----DS18b20
(CT107蓝桥杯驱动记录 DS18B20温度传感器)添加读取函数unsigned char Tempget(){unsigned char high,low,temp;init_ds18b20();Write_DS18B20(0xcc);Write_DS18B20(0x44);Delay_DS18B20(200);init_ds18B20();Write_DS18B20(0...原创 2019-03-23 17:22:55 · 181 阅读 · 0 评论 -
CT107蓝桥杯驱动----DS1302
ds1302时钟计时既需要对官网程序进行修改,也要加入初始化与读取部分修改部分:void Write_Ds1302( unsigned char address,unsigned char dat ){RST=0;nop();SCK=0;nop();RST=1;nop();Write_Ds1302_Byte(address);Write_Ds1302_Byte((dat/1...原创 2019-03-23 17:41:19 · 412 阅读 · 0 评论 -
CT107蓝桥杯驱动----iic
I^2 C AD转换与EEPROMAD转换只需添加读取部分unsigned char AD_read(unsigned char add){unsigned char temp;IIC_Start();IIC_SendByte(0x90);IIC_WaitAck();IIC_SendByte(add);IIC_WaitAck();IIC_Stop();IIC_Start()...原创 2019-03-23 18:07:58 · 339 阅读 · 0 评论