esp32-ds18b20
ESP32-compatible C library for Maxim Integrated DS18B20 Programmable Resolution 1-Wire Digital Thermometer.
|
Structure containing information related to a single DS18B20 device connected via a 1-Wire bus. More...
#include <ds18b20.h>
Data Fields | |
bool | init |
True if struct has been initialised, otherwise false. | |
bool | solo |
True if device is intended to be the only one connected to the bus, otherwise false. | |
bool | use_crc |
True if CRC checks are to be used when retrieving information from a device on the bus. | |
const OneWireBus * | bus |
Pointer to 1-Wire bus information relevant to this device. | |
OneWireBus_ROMCode | rom_code |
The ROM code used to address this device on the bus. | |
DS18B20_RESOLUTION | resolution |
Temperature measurement resolution per reading. | |
Structure containing information related to a single DS18B20 device connected via a 1-Wire bus.