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

Method send

examples/AllProtocolsOnLCD/LiquidCrystal.cpp:303–317  ·  view source on GitHub ↗

write either command or data, with automatic 4/8-bit selection

Source from the content-addressed store, hash-verified

301
302// write either command or data, with automatic 4/8-bit selection
303void LiquidCrystal::send(uint8_t value, uint8_t mode) {
304 digitalWrite(_rs_pin, mode);
305
306 // if there is a RW pin indicated, set it low to Write
307 if (_rw_pin != 255) {
308 digitalWrite(_rw_pin, LOW);
309 }
310
311 if (_displayfunction & LCD_8BITMODE) {
312 write8bits(value);
313 } else {
314 write4bits(value>>4);
315 write4bits(value);
316 }
317}
318
319void LiquidCrystal::pulseEnable(void) {
320 digitalWrite(_enable_pin, LOW);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected