diff --git a/README.md b/README.md index a4ba517..571dce6 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ SOFTWARE. * Screen turns off when printer is turned off or disconnected * Screen turns on when printer is Operational or connected * Option to display a clock screen instead of sleep mode +* Option to display 24 hour clock or AM/PM style * Sample rate is every 60 seconds when not printing * Sample rate is every 10 seconds when printing * Fully configurable from the web interface (not required to update Settings.h) diff --git a/printermonitor/Settings.h b/printermonitor/Settings.h index a5abcec..96adc95 100644 --- a/printermonitor/Settings.h +++ b/printermonitor/Settings.h @@ -60,6 +60,7 @@ const boolean WEBSERVER_ENABLED = true; // Device will provide a web interface char* www_username = "admin"; // User account for the Web Interface char* www_password = "password"; // Password for the Web Interface float UtcOffset = -7; // Hour offset from GMT for your timezone +boolean IS_24HOUR = false; // 23:00 millitary 24 hour clock int minutesBetweenDataRefresh = 60; boolean DISPLAYCLOCK = true; // true = Show Clock when not printing / false = turn off display when not printing diff --git a/printermonitor/printermonitor.ino b/printermonitor/printermonitor.ino index 79d64fa..11e360d 100644 --- a/printermonitor/printermonitor.ino +++ b/printermonitor/printermonitor.ino @@ -27,7 +27,7 @@ SOFTWARE. #include "Settings.h" -#define VERSION "1.2" +#define VERSION "1.3" #define HOSTNAME "ESP8266-" #define CONFIG "/conf.txt" @@ -98,6 +98,7 @@ const String CHANGE_FORM = "