MCPcopy Create free account
hub / github.com/DanielOgorchock/ST_Anything / select

Method select

Arduino/libraries/OneWire/OneWire.cpp:295–302  ·  view source on GitHub ↗

Do a ROM select

Source from the content-addressed store, hash-verified

293// Do a ROM select
294//
295void OneWire::select(const uint8_t rom[8])
296{
297 uint8_t i;
298
299 write(0x55); // Choose ROM
300
301 for (i = 0; i < 8; i++) write(rom[i]);
302}
303
304//
305// Do a ROM skip

Callers 4

readScratchPadMethod · 0.80
writeScratchPadMethod · 0.80
readPowerSupplyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected