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

Method clear

examples/AllProtocolsOnLCD/LiquidCrystal_I2C.hpp:155–164  ·  view source on GitHub ↗

high level commands, for the user! */

Source from the content-addressed store, hash-verified

153
154/********** high level commands, for the user! */
155void LiquidCrystal_I2C::clear() {
156 command(LCD_CLEARDISPLAY); // clear display, set cursor position to zero
157#if defined(USE_FAST_TIMING)
158 delayMicroseconds(1500); // this command takes a long time! // AJ 20.9.23 1200 is too short for my 2004 LCD's, 1400 is OK
159#else
160 delayMicroseconds(2000); // this command takes a long time!
161#endif
162 if (_oled)
163 setCursor(0, 0);
164}
165
166void LiquidCrystal_I2C::home() {
167 command(LCD_RETURNHOME); // set cursor position to zero

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected