![]() ![]() s-display/ and with that i run the test file “hello world”, and that works perfect. Once you’ve completed all the required functions in. runner.py has been implemented for you, and contains all of the code to run the graphical interface for the game. ![]() tictactoe.py contains all of the logic for playing the game, and for making optimal moves. I change some things in this file: ~/Adafruit_Python_CharLCD/Adafruit_CharLCD /Adafruit_CharLCD.py I change address and cols and lines (for my address that is 0x27, and cols 20, lines 4)…And now i dont get a error when i run maxnox.py… but… the display turn on and off when i put the magnet in a reed switch.So i dont know what to think, must be that the pin on the Adafruit file are wrong for my display… but how i can change those values? There are two main files in this project: runner.py and tictactoe.py. I want to know if somebody can give me a hand to change the code to use my lcd, or give me some kind of guide. This is my display datasheet (2004a): and have a backpack pcf8574t In that project the creator use "Sain Smart I2C IIC LED Screen + Keypad", i dont have that component, but i have this kind of lcd: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |