MCPcopy Create free account
hub / github.com/Arduino-IRremote/Arduino-IRremote / send

Method send

examples/AllProtocolsOnLCD/LiquidCrystal_I2C.hpp:280–285  ·  view source on GitHub ↗

write either command or data

Source from the content-addressed store, hash-verified

278
279// write either command or data
280void LiquidCrystal_I2C::send(uint8_t value, uint8_t mode) {
281 uint8_t highnib = value & 0xf0;
282 uint8_t lownib = (value << 4) & 0xf0;
283 write4bits((highnib) | mode);
284 write4bits((lownib) | mode);
285}
286
287void LiquidCrystal_I2C::write4bits(uint8_t value) {
288 expanderWrite(value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected