Inventor 2040 W - Neopixels

Where do I find the current documentation for all the MicroPython procedures hidden away inside the Pimoroni add-ons for this board?

I’m just trying to control the neopixels with simple RGB values. I need to know how to initialise and set a specific pixel. I’m not interested in hsv colours.

The LEDs on Inventor are WS2812s and can be controlled with our Plasma library - docs for that are here: pimoroni-pico/micropython/modules/plasma at main · pimoroni/pimoroni-pico · GitHub

The Inventor 2040 Python module handles setting up the LEDs for you though, so you can just do:

from inventor import Inventor2040W

board = Inventor2040W()

board.leds.set_rgb(0, 255, 255, 255)

to light up the first of the board LEDs white.

Thank you, just what I wanted.

1 Like