hwiguna / HariFun_166_Morphing_Clock

107 stars 37 forks source link

little Issue in Line 231 / digit.cpp / Display wrong change at midnight at Digit5 #13

Open cheise opened 4 years ago

cheise commented 4 years ago

https://github.com/hwiguna/HariFun_166_Morphing_Clock/blob/73038dfbc1c985c72890379bd23227bffb8866b8/Latest/MorphingClock/Digit.cpp#L231

change it to if (i < segWidth) drawPixel(segWidth + 1, segHeight -i, _color); // Draw C

Display wrong change at midnight, Digit5 from "2" to "0" in Segment C. Is only show 5 pixels. The last 6th pixel in the right corner are lost.

The issue is shown only at midnight and only with military time (24h displaying)!