18 } __attribute__((packed));
29 } __attribute__((packed));
60 if (!
owi.rom_command())
return;
68 value = analogRead(pin) - 512;
76 owi.write(&scratchpad,
sizeof(scratchpad));
Copy configuration register to EEPROM.
uint8_t configuration
Configuration; resolution, alarm.
Read scratchpad including crc byte.
Software::OWI< BOARD::D1 > owi
Write data to scratchpad.
Signal power supply mode.
int8_t high_trigger
High temperature trigger.
Initiate temperature conversion.
static const uint8_t FAMILY_CODE
int16_t temperature
Temperature reading (9-12 bits).
uint8_t reserved[3]
Reserved.
int8_t low_trigger
Low temperature trigger.
Recall configuration data from EEPROM.