Skip to main content

Neopixel

Stemi Shield has one NeoPixel included on the board. It can be accessed through pin board.IO11.

Neopixel

Library​

Library for NeoPixel is provided by Adafruit.

Example​

main.py
import board
import neopixel

pixels = neopixel.NeoPixel(board.IO11, 10, auto_write=False)
pixels[0] = (10, 0, 0)
pixels.show()