Skip to content

Commit

Permalink
Examples: Corrected colour order to BGR for use with the Star LED kit
Browse files Browse the repository at this point in the history
  • Loading branch information
thirdr committed Nov 25, 2024
1 parent 7972b92 commit 0125e21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion micropython/examples/plasma_2350/rainbow.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# 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 updating the LED strip
led_strip.start()
Expand Down
2 changes: 1 addition & 1 deletion micropython/examples/plasma_2350/single_colour.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# 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 updating the LED strip
led_strip.start()
Expand Down

0 comments on commit 0125e21

Please sign in to comment.