Skip to content

Instantly share code, notes, and snippets.

View GautamBose's full-sized avatar
🏠
Working from home

Gautam Bose GautamBose

🏠
Working from home
View GitHub Profile
@GautamBose
GautamBose / rotary_encoder.pde
Created February 24, 2020 21:49 — forked from Arty2/rotary_encoder.pde
Reading one Rotary Encoder from a Raspberry Pi with Processing 3
/*
Reading one Rotary Encoder from a Raspberry Pi
Translated from C to Processing by Heracles Papatheodorou
via http://theatticlight.net/posts/Reading-a-Rotary-Encoder-from-a-Raspberry-Pi/
GND MIDDLE encoder leg
GPIO22 GPIO23 LEFT and RIGHT legs
3.3V LEFT and RIGHT, splits to two 10k resistors for pull-up
@GautamBose
GautamBose / readme.md
Last active May 1, 2022 13:37 — forked from bchanudet/readme.md
Framebuffer on ST7735r (1.8inch TFT LCD SPI Display)

Enable modules in Kernel

In raspi-config

Enable SPI under "Interfacing options"

Add modules

$ sudo nano /etc/modules