MCPcopy Create free account
hub / github.com/PaulStoffregen/OneWire / select

Method select

OneWire.cpp:312–319  ·  view source on GitHub ↗

Do a ROM select

Source from the content-addressed store, hash-verified

310// Do a ROM select
311//
312void OneWire::select(const uint8_t rom[8])
313{
314 uint8_t i;
315
316 write(0x55); // Choose ROM
317
318 for (i = 0; i < 8; i++) write(rom[i]);
319}
320
321//
322// Do a ROM skip

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected