MCPcopy Create free account
hub / github.com/cifertech/nRFBox / addLineToDisplay

Function addLineToDisplay

nRFBox_V2/sourapple.cpp:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void addLineToDisplay(String newLine) {
37 for (int i = 0; i < MAX_LINES - 1; i++) {
38 lines[i] = lines[i + 1];
39 }
40 lines[MAX_LINES - 1] = newLine;
41
42 updatedisplay();
43}
44
45void displayAdvertisementData() {
46 String lineStr = String(lineNumber) + ": ";

Callers 1

displayAdvertisementDataFunction · 0.70

Calls 1

updatedisplayFunction · 0.70

Tested by

no test coverage detected