Skip to main content

Pygame from console with PiTFT

I wrote a simple script that uses pygame to display the information. However, I found that it won't display on screen when I call it from terminal through SSH. I found this guide/solution on adafruit, but it apparently doesn't work. sudo python pyscope.py does not give me red box on the screen. From console, doing startx & followed by sudo python pyscope.py doesnt work either.

Is there another way to display a pygame window onto the PiTFT from console?

calccrypto
  • 265
  • 1
  • 7
  • 18