Datasheet

PiTFT PyGame Tips
Since the PiTFT screen is fairly small, you may need to write custom UI programs. Pygame is the easiest way by far to
do this.
Jeremy Blythe has an excellent tutorial here on getting started.
However,
before
you follow that link you'll want to set up pygame for the best compatibility:
Install pip & pygame
Install Pip: sudo apt-get install python-pip
Install Pygame: sudo apt-get install python-pygame
(this will take a while)
Ensure you are running SDL 1.2
SDL 2.x and SDL 1.2.15-10 have some serious incompatibilities with touchscreen. You can force SDL 1.2 by running a
script. (Thanks to heine in the forums!)
© Adafruit Industries
https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-
pi
Page 57 of 70