tft_display.txt 518 B

123456789101112131415161718192021222324252627282930
  1. TFT Display
  2. --
  3. Driver: https://github.com/notro/fbtft
  4. Docs: https://github.com/notro/fbtft/wiki
  5. apt-get install binutils
  6. Add to /boot/config.txt
  7. dtparam=spi=on
  8. Manually load driver with:
  9. sudo modprobe fbtft_device name=adafruit18
  10. Add to /etc/modules
  11. fbtft_device
  12. Create /etc/modprobe.d/fbtft_device.conf
  13. options fbtft_device name=adafruit18
  14. See kernel messages with:
  15. dmesg -w
  16. Check display:
  17. fbset -fb /dev/fb1
  18. Test display output:
  19. cat /dev/urandom >/dev/fb1
  20. Install python game
  21. apt-get install python3-pygame