MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / write16

Method write16

libraries/PCF8575/PCF8575.cpp:104–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102
103
104void PCF8575::write16(const uint16_t value)
105{
106 _dataOut = value;
107 _wire->beginTransmission(_address);
108 _wire->write(_dataOut & 0xFF); // low 8 bits
109 _wire->write(_dataOut >> 8); // high 8 bits
110 _error = _wire->endTransmission();
111}
112
113
114void PCF8575::write(const uint8_t pin, const uint8_t value)

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected