Trying to initialize AllPixelMini using WS2812B. In initial test showed that RGB order needs adjustment. Used the following code:
import bibliopixel
causes frame timing information to be output
bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG)
Load driver for the AllPixel
from bibliopixel.drivers.serial import *
set number of pixels & LED type here
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.GRB)
Get the following error message:
Traceback (most recent call last):
File “.\biblioInitialTest.py”, line 8, in
driver = Serial(num = 10, ledtype = LEDTYPE.WS2812B, c_order = ChannelOrder.GRB)
NameError: name ‘ChannelOrder’ is not defined