MCPcopy Create free account
hub / github.com/OpenEPaperLink/OpenEPaperLink / infoDisplay

Function infoDisplay

ESP32_AP-Flasher/src/webflasher.cpp:99–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97uint8_t errors = 0;
98
99void infoDisplay(String actionName, uint8_t icon) {
100 wsSerial(" " + actionName, "white");
101#ifdef HAS_TFT
102 tftOverride = true;
103 tft2.fillScreen(TFT_PURPLE);
104 tft2.setCursor(0, 0, 4);
105 tft2.setTextColor(TFT_WHITE);
106 tft2.print("Progress:");
107 tft2.setCursor(18, 30, 2);
108 tft2.setTextColor(TFT_WHITE);
109 tft2.print(actionName);
110#endif
111}
112
113bool report(bool result) {
114 if (result) {

Callers 1

webFlasherTaskFunction · 0.85

Calls 5

wsSerialFunction · 0.85
fillScreenMethod · 0.80
setCursorMethod · 0.80
setTextColorMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected