Archived
14 lines
417 B
Plaintext
14 lines
417 B
Plaintext
# installs and configures nessesary stuff to enable spi tft display
|
|
|
|
echo "dtparam=spi=on" >> /boot/config.txt
|
|
echo "framebuffer_width=128" >> /boot/config.txt
|
|
echo "framebuffer_height=160" >> /boot/config.txt
|
|
|
|
# sudo nano /boot/cmdline.txt
|
|
# fbcon=map:10
|
|
# sudo nano /etc/modules-load.d/fbtft.conf
|
|
# spi-bcm2835
|
|
# fbtft_device
|
|
# sudo nano /etc/modprobe.d/fbtft.conf
|
|
# options fbtft_device name=sainsmart18 rotate=90
|