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

Method pulseEnable

examples/AllProtocolsOnLCD/LiquidCrystal.cpp:319–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319void LiquidCrystal::pulseEnable(void) {
320 digitalWrite(_enable_pin, LOW);
321 delayMicroseconds(1);
322 digitalWrite(_enable_pin, HIGH);
323 delayMicroseconds(1); // enable pulse must be >450ns
324 digitalWrite(_enable_pin, LOW);
325#if defined(USE_FAST_LCD_TIMING)
326 delayMicroseconds(2); // commands need > 37us to settle
327#else
328 delayMicroseconds(100); // commands need > 37us to settle
329#endif
330}
331
332void LiquidCrystal::write4bits(uint8_t value) {
333 for (int i = 0; i < 4; i++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected