haphazard.io
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Raspberry Pi framebuffer FBTFT ILI9341

2.2" SPI TFT Display Wiring Display Raspberry Pi GPIO VCC 3.3V GND GND CS CEO RESET 25 D/C 24 SDI (MOSI) MOSI SCK SCLK LED 18 SDO (MISO) n/a Note: The above wiring scheme is the default GPIO values used by the fb_ili9341 TFT driver. These can be customized if required using the gpios parameter in /etc/modprobe.d/fbtft.conf. Raspberry Pi Configuration Reference: https://github.com/notro/fbtft/wiki Create /etc/modules-load.d/fbtft.conf with the following: spi-bcm2835 fbtft_device Create /etc/modprobe.
Read full post gdoc_arrow_right_alt

Raspberry Pi GPIO power button

Wiring Button Pin RPi GPIO 1 GPIO 3 (SCL) 2 GND Power On On my Raspberry Pi 2 Model B Rev 1.1, the system will power on from a halted state when shorting the SCL (GPIO 3) to Ground. Shutdown When the system is on, the below script will monitor SCL (GPIO 3) for a button press. When a button press is detected, the script will shutdown the Raspberry Pi safely.
Read full post gdoc_arrow_right_alt