I have followed a hackster project to make a TicTacToe game using TFT and Arduino. I then added new features like adding a timer, game counter and SD card logger. The game seems to play by itself now. Can anyone help?
Here is the code: GitHub - iudeen/Arduino-TicTacToe (also attached)
Why don't you go back to the original that worked, and then add in your features one at a time, test to make sure they work and then add the next? (Or fix your feature if it stops working)
I did. It's the same. The website I found the code says it works, but it actually isn't working. I just want to make sure if there is any error in the logic.
have followed a hackster project to make a TicTacToe game
So why does the link take you to the dreaded instructables site?
This site is well known for its bad projects, almost all the electronics ones I have seen contain mistakes.
If it plays itself then it sounds like ther is some sort of error around the input. This could be caused by flakey software or by the shield not being plugged in correctly or being faulty.