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
AnonEngineering
AnonEngineering•3mo ago
the "Simple Clock" is 21kB?
th3r0_is_n00tihng
th3r0_is_n00tihngOP•3mo ago
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
AnonEngineering
AnonEngineering•3mo ago
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
DarwinWasWrong
DarwinWasWrong•3mo ago
Meant to have two LCD's?
AnonEngineering
AnonEngineering•3mo ago
OPs code is for one of those parallel LCD w/ analog keypad shields
DarwinWasWrong
DarwinWasWrong•3mo ago
Yeah, just most chess timers have two screens. Wondered if that was the ideal
AnonEngineering
AnonEngineering•3mo ago
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)
DarwinWasWrong
DarwinWasWrong•3mo ago
eg
No description
AnonEngineering
AnonEngineering•3mo ago
and I bet you got that (and more) done with way less than 21k of code 😉
DarwinWasWrong
DarwinWasWrong•3mo ago
There is a lot of repeated code but most of it is menu system. 😬

Did you find this page helpful?