techniccontroller / wordclock_esp8266

Wordclock 2.0 with ESP8266 and NTP time
https://techniccontroller.com/word-clock-with-wifi-and-neopixel/
MIT License
22 stars 16 forks source link

wordclockfunctions.ino_english not showing twelve (hour) #24

Closed crimsonclyde closed 4 months ago

crimsonclyde commented 4 months ago

There is a problem in this version wordclockfunctions.ino_english

Twelve is not correctly displayed. All other minutes and hours work properly. Only 12 doesn't work.

Log output "multicastUDP_receiver.py"

('192.168.x.y', 8123) :  Wordclock 2.0: time as String: IT IS QUARTER PAST
('192.168.x.y', 8123) :  Wordclock 2.0: Heartbeat, state: Clock, FreeHeap: 36400, HeapFrag: 1, MaxFreeBlock: 36152
('192.168.x,y', 8123) :  Wordclock 2.0: time as String: IT IS QUARTER PAST
...
('192.168.x.y', 8123) :  Wordclock 2.0: time as String: IT IS HALF PAST
('192.168.x.y', 8123) :  Wordclock 2.0: Heartbeat, state: Clock, FreeHeap: 36176, HeapFrag: 1, MaxFreeBlock: 35928
('192.168.x.y', 8123) :  Wordclock 2.0: time as String: IT IS HALF PAST

According to microcontroller.net the log needs to show the time correctly otherwise the LED matrix is not able to handle the time accordingly. If I find some time I will try to take a closer look into this.

...just a info

techniccontroller commented 4 months ago

Hi,

thank you for highlighting this problem. I fixed the issue.

BR Edgar

crimsonclyde commented 4 months ago

Thx for your quick support. Sorry I wanted to send a merge request :) but you have been much faster to fix the problem.