Chess Clock coding
Hi, I'm having a problem with Chess clock code.. I found a code on GitHub with schematics on new Chess clock circuit, but it is only for 16x2 LCD display and not for 20x4 I2C LCD display, which I have.
I'm not such a programmer to fix it, so I'm asking is there someone who could help with that problem?
AI was fixing it, but any tries it does weren't working.
Btw, here's the code: (with credit inside to not copy)
10 Replies
the "Simple Clock" is 21kB?
yeah.. i'm more than sure for now it might not be too simple, as author of it says.. cuz yeah, 21kB of text tells everything
as far as the difference between a parallel LCD and an I2C LCD (16x2 or 20x4), it all comes down to just a few lines of code and the library you use
https://wokwi.com/projects/369290027386954753
Meant to have two LCD's?
OPs code is for one of those parallel LCD w/ analog keypad shields
Yeah, just most chess timers have two screens. Wondered if that was the ideal
my example was only to demonstrate the difference between parallel and I2c LCDs as far as wiring / setup (it isn't hard to modify code to use either)
eg

and I bet you got that (and more) done with way less than 21k of code 😉
There is a lot of repeated code but most of it is menu system. 😬