Hey there,
I installed Bibliopixel wiht pip3 and when I’m running python3 i can’t import bibliopixel.drivers.serial_driver as there is no module named like this.
So whats going on here? How can I run a simple program for my LED Strip with python 3?
this is the code that I copied by GitHub/Bibliopixel
Thx
#Load driver for your hardware, visualizer just for example
from bibliopixel.drivers.serial_driver import *
#set your LED type here
driver = Serial(num = 10, type = LEDTYPE.LPD8806)
#load the LEDStrip class
from bibliopixel.led import *
led = Strip(driver)
#load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
anim.run()
except KeyboardInterrupt:
led.all_off()
led.update()