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

Method write4bits

examples/AllProtocolsOnLCD/LiquidCrystal.cpp:332–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332void LiquidCrystal::write4bits(uint8_t value) {
333 for (int i = 0; i < 4; i++) {
334 digitalWrite(_data_pins[i], (value >> i) & 0x01);
335 }
336
337 pulseEnable();
338}
339
340void LiquidCrystal::write8bits(uint8_t value) {
341 for (int i = 0; i < 8; i++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected