diff --git a/micropython/examples/plasma_2350_w/cheerlights.py b/micropython/examples/plasma_2350_w/cheerlights.py index 15ee921..ad2e4ff 100644 --- a/micropython/examples/plasma_2350_w/cheerlights.py +++ b/micropython/examples/plasma_2350_w/cheerlights.py @@ -5,7 +5,7 @@ import requests # Total number of LEDs on our LED strip -NUM_LEDS = 60 +NUM_LEDS = 66 # How long between cheerslight updates in seconds INTERVAL = 60 @@ -38,7 +38,7 @@ def connect(): # led_strip = plasma.APA102(NUM_LEDS, 0, 0, plasma2040.DAT, plasma2040.CLK) # WS2812 / NeoPixelâ„¢ LEDs -led_strip = plasma.WS2812(NUM_LEDS, 0, 0, plasma2040.DAT) +led_strip = plasma.WS2812(NUM_LEDS, 0, 0, plasma2040.DAT, color_order=plasma.COLOR_ORDER_BGR) # Start connection to the network connect() diff --git a/micropython/examples/plasma_2350_w/webpage.py b/micropython/examples/plasma_2350_w/webpage.py index 9ea3f08..cf15bc0 100644 --- a/micropython/examples/plasma_2350_w/webpage.py +++ b/micropython/examples/plasma_2350_w/webpage.py @@ -23,13 +23,13 @@ print(e) # Total number of LEDs on our LED strip -NUM_LEDS = 60 +NUM_LEDS = 66 # APA102 / DotStarâ„¢ LEDs # led_strip = plasma.APA102(NUM_LEDS, 0, 0, plasma2040.DAT, plasma2040.CLK) # WS2812 / NeoPixelâ„¢ LEDs -led_strip = plasma.WS2812(NUM_LEDS, 0, 0, plasma.plasma2040.DAT) +led_strip = plasma.WS2812(NUM_LEDS, 0, 0, plasma.plasma2040.DAT, color_order=plasma.COLOR_ORDER_BGR) # Setup the RGB Led led = RGBLED(16, 17, 18)