Also, it seems like the buttons have a huge/random delay on them by default...
Also, I want to be able to control the tickspeed of the LCD screen.
The switches are scanned every 50ms, which is your original code.
Please explain what this means.
I got that one
But the buttons just don't send electric signals to the variables, they just suddenly send the signals when I press the button at random times
It feels like there's something that's causing a delay on the button signals, like somethings blocking it for approximately 5 secs.
Your switches are read every 50ms.
When a valid switch change is detected, the code responds accordingly.
By the way, you should get into the habit of using diagonal switch leads when wiring these switches.
On real hardware here there is no delay.
I guess it's just a TinkerCad thing...
I have never used TinkerCad.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.