Skip to content

Instantly share code, notes, and snippets.

@brennen
Created March 5, 2015 22:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brennen/66c9b0c4d4f611453cf8 to your computer and use it in GitHub Desktop.
Save brennen/66c9b0c4d4f611453cf8 to your computer and use it in GitHub Desktop.
pitft
sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~
echo 'export FRAMEBUFFER=/dev/fb1' >> ~/.profile
make sure these are in /etc/modules:
rpi_power_switch
spi-bcm2708
i2c-bcm2708
i2c-dev
stmpe_ts
add these to /boot/config.txt
device_tree=bcm2709-rpi-2-b.dtb
dtparam=spi=on
dtparam=i2c1=on
dtparam=i2c_arm=on
dtoverlay=pitft28r
dtdebug=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment