Last active
June 30, 2019 16:04
Revisions
-
eendeego revised this gist
Aug 20, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,7 +28,7 @@ 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=adafruit18 speed=32000000 fps=50 rotate=270 gpios=reset:25,dc:24,led:23>> /etc/modprobe.d/sainsmart18.conf' ## Reconfigure font -
eendeego revised this gist
Aug 20, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,7 +16,7 @@ sudo reboot ## Test display sudo modprobe spi-bcm2708 sudo modprobe fbtft_device name=adafruit18 speed=32000000 fps=50 rotate=270 gpios=reset:25,dc:24,led:23 sudo apt-get install fbi -
eendeego revised this gist
Aug 20, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,7 +16,7 @@ sudo reboot ## Test display sudo modprobe spi-bcm2708 sudo modprobe fbtft_device name=sainsmart18 speed=32000000 fps=50 rotate=270 gpios=reset:25,dc:24,led:23 sudo apt-get install fbi -
eendeego created this gist
Aug 20, 2014 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,49 @@ ## Install kernel modules mkdir -p ~/work/share/lcd/adafruit-pitft-2.8 cd ~/work/share/lcd/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 ## Test display sudo modprobe spi-bcm2708 sudo modprobe fbtft_device name=sainsmart18 speed=32000000 fps=50 rotate=270 sudo apt-get install fbi cd ~/work/share/lcd/adafruit-pitft-2.8 wget http://adafruit-download.s3.amazonaws.com/adapiluv320x240.jpg sudo fbi -T 2 -d /dev/fb1 -noverbose -a adapiluv320x240.jpg ## Load on boot 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' ## Reconfigure font sudo dpkg-reconfigure console-setup # ... and go thru to select Terminus 6x12 ## Boot console on TFT sudo vi /boot/cmdline.txt # Add fbcon=map:10 fbcon=font:VGA8x8