little Issue in Line 199 / digit.cpp / Display wrong change at midnight at Digit5
Opened this issue · 1 comments
cheise commented
Line 199 in 9523559
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)!
dragondaud commented
Thanks. I did not write the digits code, and had never noticed the bug. I
will investigate and update my code.
…On Fri, May 8, 2020 at 6:31 PM cheise ***@***.***> wrote:
https://github.com/dragondaud/myClock/blob/9523559b0f4b1e06231637b3ed51ae6f61717b69/Digit.cpp#L199
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 show only at midnight and only with military time (24h
displaying)!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#24>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGM5GPT5ZAWK4CBTIVOTTR3RQSP4HANCNFSM4M4R5OXA>
.
--
david denney
dragondaud AT gmail DOT com
719-821-8900