1234567891011121314151617181920212223242526272829303132333435363738 |
- Update:
- Add to /boot/config.txt:
- dtparam=spi=on
- dtoverlay=adafruit18,rotate=0
- Old:
- TFT Display
- --
- Driver: https://github.com/notro/fbtft
- Docs: https://github.com/notro/fbtft/wiki
- apt-get install binutils
- Add to /boot/config.txt
- dtparam=spi=on
- Manually load driver with:
- sudo modprobe fbtft_device name=adafruit18
- Add to /etc/modules
- fbtft_device
- Create /etc/modprobe.d/fbtft_device.conf
- options fbtft_device name=adafruit18
- See kernel messages with:
- dmesg -w
- Check display:
- fbset -fb /dev/fb1
- Test display output:
- cat /dev/urandom >/dev/fb1
- Install python game
- apt-get install python3-pygame
|