Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install texy's raspberry pi TFT 1.8 screen with current adafruit/notro drivers
# https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi/software-installation
mkdir -p ~/work/share/adafruit-pitft-2.8
cd ~/work/share/adafruit-pitft-2.8
wget http://adafruit-download.s3.amazonaws.com/libraspberrypi-bin-adafruit.deb
wget http://adafruit-download.s3.amazonaws.com/libraspberrypi-dev-adafruit.deb
wget http://adafruit-download.s3.amazonaws.com/libraspberrypi-doc-adafruit.deb
wget http://adafruit-download.s3.amazonaws.com/libraspberrypi0-adafruit.deb
wget http://adafruit-download.s3.amazonaws.com/raspberrypi-bootloader-adafruit-20140724-1.deb
sudo dpkg -i -B *.deb
sudo reboot
sudo modprobe spi-bcm2708
sudo modprobe fbtft_device name=sainsmart18 speed=32000000 fps=50
sudo apt-get install fbi
wget http://adafruit-download.s3.amazonaws.com/adapiluv320x240.jpg
sudo fbi -T 2 -d /dev/fb1 -noverbose -a adapiluv320x240.jpg
sudo sh -c 'echo spi-bcm2708 >> /etc/modules'
sudo sh -c 'echo fbtft_device >> /etc/modules'
sudo sh -c 'echo options fbtft_device name=sainsmart18 speed=32000000 fps=50 rotate=270 >> /etc/modprobe.d/sainsmart18.conf'
sudo dpkg-reconfigure console-setup
# ... and go thru to select Terminus 6x12
sudo vi /boot/cmdline.txt
# Add fbcon=map:10 fbcon=font:VGA8x8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.