- I searched the Glowy things topic, but could not find the answer to my question (though I didn't browse all 354 pages).
- I am using a https://www.adafruit.com/product/2239 Adafruit DotStar Digital LED Strip - Black 60 LED - Per Meter - BLACK strip.
- I am using a Raspberry Pi (4 Model B Rev 1.2) w/ `sudo pip3 install adafruit-circuitpython-dotstar`and all its dependencies.
- My test.py code is below.
Code: Select all
#!/usr/bin/env python3
import board, adafruit_dotstar as dotstar, time
n = 17
dots = dotstar.DotStar(board.SCK, board.MOSI, n, brightness=0.2)
for i in range(dots.n):
dots[i] = (0x66, 0x33, 0x99, ) # Rebecca Purple
time.sleep(1)
dots.deinit()
print('done...')
My question is: is there a bug in the `adafruit_dotstar` module for `n > 16`, or am I using it incorrectly?
Thank you.
- dcp