It is amazing how many Arduino programmes for decoding rotary encoders start with something like: “I looked at all the available rotary encoder sketches and none of them met my needs, so I have ...
Arduino sketch that reads a quadrature rotary encoder on interrupts and sends its position (in degrees) over OSC via an Ethernet shield. Despite the name, output is OSC, not serial.
Please refer to the article from two posts ago for the Arduino side #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ HSV wheel + RGB sliders + Arduino rotary encoders (3x) integration ----- - ...