4 #include "Software/Serial.h" 7 Software::Serial<BOARD::D0>
Serial;
20 uint8_t rom[owi.
ROM_MAX] = { 0 };
21 int8_t last = owi.
FIRST;
26 if (last == owi.
ERROR)
break;
32 Serial.print(F(
":family="));
39 if (rom[i] < 0x10)
Serial.print(0);
46 if (rom[i] < 0x10)
Serial.print(0);
47 Serial.println(rom[i], HEX);
48 }
while (last != owi.
LAST);
Software::Serial< BOARD::D0 > Serial
int8_t search_rom(uint8_t family, uint8_t *code, int8_t last=FIRST)
Software::OWI< BOARD::D1 > owi
Last position, search completed.
Start position of search.
static const size_t ROM_MAX