This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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 |