3 #include "Hardware/TWI.h" 27 int8_t last =
owi.FIRST;
33 if (last ==
owi.ERROR)
break;
44 Serial.print(F(
":family="));
51 if (rom[i] < 0x10)
Serial.print(0);
54 }
while (i <
owi.ROM_MAX - 1);
58 if (rom[i] < 0x10)
Serial.print(0);
62 Serial.print(F(
",resolution="));
66 Serial.print(F(
",trigger=["));
72 Serial.print(F(
"],temperature="));
74 }
while (last !=
owi.LAST);
static const uint8_t FAMILY_CODE
Software::Serial< BOARD::D0 > Serial
Software::OWI< BOARD::D1 > owi
void get_trigger(int8_t &low, int8_t &high) const
bool read_scratchpad(bool match=true)
bool convert_request(bool broadcast=false)
void resolution(uint8_t bits)
void rom(const uint8_t *rom)
float temperature() const
uint16_t conversion_time()