strip type
Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
+2
-1
@@ -25,8 +25,9 @@ global LEDS_PER_PIXEL
|
||||
LEDS_PER_PIXEL = 5
|
||||
|
||||
# Global variables for LED strip control
|
||||
STRIP_TYPE = ws.2812B_STRIP_RGB
|
||||
global strip
|
||||
strip = Adafruit_NeoPixel(LED_COUNT, 18, 800000, 5, False, 255, 0, ws.2812B_STRIP_RGB)
|
||||
strip = Adafruit_NeoPixel(LED_COUNT, 18, 800000, 5, False, 255, 0, STRIP_TYPE)
|
||||
strip.begin()
|
||||
|
||||
def register_tube():
|
||||
|
||||
Reference in New Issue
Block a user