https://github.com/z0m31en7/rotary_encoder
Python code snippet, to use a Rotary Encoder connected to the gpio pins of Raspberry Pi .
https://github.com/z0m31en7/rotary_encoder
gpio python raspberry-pi rotary-encoder
Last synced: about 1 year ago
JSON representation
Python code snippet, to use a Rotary Encoder connected to the gpio pins of Raspberry Pi .
- Host: GitHub
- URL: https://github.com/z0m31en7/rotary_encoder
- Owner: z0m31en7
- License: mit
- Created: 2023-05-31T19:30:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-31T19:35:28.000Z (about 3 years ago)
- Last Synced: 2025-03-27T13:51:18.310Z (over 1 year ago)
- Topics: gpio, python, raspberry-pi, rotary-encoder
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Rotary Encoder
Python code snippet, to use a rotary encoder with a Raspberry Pi by connecting it to the GPIO pins.


Connections:
* GND -> GND
* VCC -> 3V3
* Out A -> GPIO11
* Out B -> GPIO12
* Switch -> GPIO13