MCPcopy Create free account
hub / github.com/Michael-Manning/E-Paper-Climate-Logger / printf

Method printf

firmware/src/drivers/display.cpp:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 return x1 + w;
138}
139
140char printBuffer[128];
141void Display::printf(int x, int y, const char* fmt, ...) {
142 va_list args;
143 va_start(args, fmt);
144 vsprintf(printBuffer, fmt, args);
145 va_end(args);
146
147 display.setCursor(x, y);
148 display.print(printBuffer);
149}
150int Display::printfAndOffset(int x, int y, const char* fmt, ...) {

Callers 9

StandardDisplayMethod · 0.80
DebugMenuMethod · 0.80
ViewDataMethod · 0.80
LowTempWarningMethod · 0.80
SettingsMenuMethod · 0.80
on_errorFunction · 0.80
pollUSBFunction · 0.80
loopFunction · 0.80
getClimateFunction · 0.80

Calls 1

printMethod · 0.80

Tested by

no test coverage detected