Tell us about yourself!
- AdrianCronauer made the instructable ESP8266 NTP TIMEZONE CLOCK WITH WiFi MANAGER
- AdrianCronauer commented on sebouh's instructable ESP8266 NTP TIMEZONE CLOCK WITH WiFi MANAGERView Instructable »
Thanks for this project. I was looking for such cheap clock. I did some modifications by adding a second unit which displays day, month and year. In addition, the libraries included in the ZIP are not neccesary as they are standard. You need to change the line#include <Time.h> to#include <TimeLib.h>------unsigned int HexToBCD(unsigned int number){ unsigned char i = 0; unsigned int k = 0; while (number) { k = (k) | ((number % 10) << i * 4); number = number / 10; i++; } return (k);}void digitalClockDisplay() { tmElements_t tm; char *dayOfWeek; breakTime(now(), tm); lc.clearDisplay(0); // Start with left digit lc.setDigit(0, 7, int(hour(CE.toLocal(utc, &tcr)) / 10), false); lc.setDigit(0, 6, (hour(CE.toLocal(utc, &tcr)) % 10), false); lc.setCh…
see more »
I added a 2nd display for constant date and time - did some code modification to accomplish this - also used NodeMCU / WemosD1 because it is easier to program using Arduino IDE