Using an RGB Potentiometer with Plasma 2040


Excuse the newbie question. I’m trying to get the RBG Potentiometer working with a Plasma 2040. I’m connecting the two using the QW/ST connector with a STEMMA QT / Qwiic to Breakout Garden Adapter. But I’m at a loss about where to start with code examples for the RGB Potentiometer.

I’ve found this code example: pimoroni-pico/ at main · pimoroni/pimoroni-pico · GitHub

But I get “RuntimeError: BreakoutPotentiometer: breakout not found when initialising” which suggests I’m not adapting the code to tell it where to find the potentiometer.

Any pointers would be gratefully received!


Plasma 2040 uses GP20 and GP21 for I2C - try switching



i2c = PimoroniI2C(**PINS_PICO_EXPLORER)