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

Function stampTime

ESP32_AP-Flasher/src/contentmanager.cpp:1223–1229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1221}
1222
1223void stampTime(TFT_eSprite &spr) {
1224 time_t now;
1225 time(&now);
1226 char timeStr[24];
1227 strftime(timeStr, sizeof(timeStr), "%Y-%m-%d %H:%M:%S ", localtime(&now));
1228 drawString(spr, timeStr, spr.width() - 1, 12, "glasstown_nbp_tf", TR_DATUM, TFT_BLACK);
1229}
1230
1231#ifdef CONTENT_RSS
1232bool getRssFeed(String &filename, String URL, String title, tagRecord *&taginfo, imgParam &imageParams) {

Callers

nothing calls this directly

Calls 2

drawStringFunction · 0.85
widthMethod · 0.80

Tested by

no test coverage detected