51 #define DS18B20_SCRATCHPAD_SIZE 9
54 DS18B20_CONVERT_TEMPERATURE = 0x44,
55 DS18B20_COPY_SCRATCHPAD = 0x48,
56 DS18B20_WRITE_SCRATCHPAD = 0x4E,
57 DS18B20_READ_POWERSUPPLY = 0xB4,
58 DS18B20_RECALL_E2 = 0xB8,
59 DS18B20_READ_SCRATCHPAD = 0xBE
void ds18b20_convert_temperature(const ow_rom_code_t id)
Tell a DS18B20 sensor to initiate a temperature conversion.
void ds18b20_init(void)
Initialize the DS18B20 driver.
One wire driver using hardware UART as a bus master.
uint8_t ds18b20_read_scratchpad(const ow_rom_code_t id, uint8_t *dest)
Read the scratchpad of a DS18B20 sensor.