/** * @ Author: Yifan Chen * @ Create Time: 2024-06-13 09:38:54 * @ Modified by: Yifan Chen * @ Modified time: 2024-06-14 10:32:44 * @ Description: */ #ifndef DS18B20_H #define DS18B20_H extern float ds18b20_read_temp(unsigned char ch); extern void ds18b20_start_convert(unsigned char ch); extern void ds18b20_io_init(unsigned char ch); extern char ds18b20_rst(unsigned char io); extern unsigned char ds18b20_read_data(unsigned char ch); extern void ds18b20_write_data(unsigned char ch, unsigned char byte); #ifdef TIME_CHECK #endif #endif