24 int8_t last = owi.
FIRST;
30 if (last == owi.
ERROR)
break;
39 Serial.print(F(
":family="));
46 if (rom[i] < 0x10)
Serial.print(0);
53 if (rom[i] < 0x10)
Serial.print(0);
57 Serial.print(F(
",resolution="));
63 Serial.print(F(
",trigger="));
69 Serial.print(F(
",temperature="));
71 }
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)
int8_t search_rom(uint8_t family, uint8_t *code, int8_t last=FIRST)
bool convert_request(bool broadcast=false)
void resolution(uint8_t bits)
void rom(const uint8_t *rom)
Last position, search completed.
Start position of search.
static const size_t ROM_MAX
float temperature() const