Posts

Showing posts from December, 2018
waveshare 1.44" tft lcd HAT (st7735s)  raspberry pi setup: Enable ‘SPI’ inside ‘Advanced Options’ and then ‘SPI’. You will simply get a yes/no option for the ‘SPI’ setting. Advanced Options’ section is ‘Overscan’. When asked ‘Would you like to enable compensation for displays with overscan?’ you can select No sudo nano /etc/modules add the following into the file (if the lines are not already there) spi-bcm2835 fbtft_device sudo nano /etc/modprobe.d/fbtft.conf add: options fbtft_device name=adafruit18_green gpios=reset:27,dc:25,cs:8,led:24 speed=40000000 bgr=1 fps=60 custom=1 height=128 width=128 rotate=180 sudo apt-get install cmake git and now we have the tools, we can grab the code from github, and build it cd ~ git clone https://github.com/tasanakorn/rpi-fbcp cd rpi-fbcp/ mkdir build cd build/ cmake .. make sudo install fbcp /usr/local/bin/fbcp cd ~ git clone https://github.com/adafruit/Adafruit-Retrogame cd Adafruit-Retrogame/ make sudo