diff --git a/vulpes/src/main.cpp b/vulpes/src/main.cpp index f3e8653..87e9548 100644 --- a/vulpes/src/main.cpp +++ b/vulpes/src/main.cpp @@ -86,7 +86,8 @@ const char index_html[] PROGMEM = R"rawliteral( WPM (current value %inputWPM%): (doesn't work yet)
- + Current time (UTC): %inputTimeUnix% +
inputFloat (current value %inputFloat%):
@@ -178,6 +179,8 @@ String processor(const String& var){ } else if(var == "inputFloat"){ return readFile(SPIFFS, "/inputFloat.txt"); + } else if(var == "inputTimeUnix"){ + return rtc.now().timestamp(); } return String(); }