zerog2k / stc_diyclock

STC DIY Clock redux (STC15F204EA, STC15W404AS, STC15W408AS)
MIT License
170 stars 67 forks source link

Fix Debug mode #38

Closed KazukiOhno closed 5 years ago

KazukiOhno commented 5 years ago

I found unexpected display when define DEBUG option. When enter the DEBUG mode, data shows on 7seg LED with HEX value. However, I changed character code (ledtable) to display alphabet for day of the week, I didn't notice it impacts Hex code display in DEBUG mode. I add hex[] array in main.c to fix this issue.

I appreciate your support.

Thanks,