pimoroni-pico/micropython/examples/breakout_encoder
..
demo.py