MCPcopy Create free account
hub / github.com/SmingHub/Sming / writeDisplay

Function writeDisplay

samples/LiquidCrystal_44780/app/application.cpp:18–27  ·  view source on GitHub ↗

-------- Write characters on the display ------------------

Source from the content-addressed store, hash-verified

16
17//-------- Write characters on the display ------------------
18void writeDisplay()
19{
20 debug_d("%s", __FUNCTION__);
21
22 // NOTE: Cursor Position: (CHAR, LINE) start at 0
23 lcd.setCursor(0, 0);
24 lcd.print(_F("SMING: Let's do"));
25 lcd.setCursor(0, 1);
26 lcd.print(_F("smart things!"));
27}
28
29// ------- Quick 3 blinks of backlight -------------
30void flashBacklight()

Callers 1

flashBacklightFunction · 0.85

Calls 2

setCursorMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected