Skip to content

Commit ae998f1

Browse files
authored
Update code.py
1 parent e91ef4e commit ae998f1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

NeoPixel_Badge_Lanyard/code.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
NEOPIXEL_PIN = board.D13 # change to reflect your wiring
1616

1717
# Palettes can have any number of elements in various formats
18-
# check https://learn.adafruit.com/fancyled-library-for-circuitpython/colors
18+
# check https://learn.adafruit.com/fancyled-library-for-circuitpython/colors
1919
# for more info
2020

2121
# Declare a 6-element RGB rainbow palette
2222
PALETTE_RAINBOW = [fancy.CRGB(1.0, 0.0, 0.0), # Red
2323
fancy.CRGB(0.5, 0.5, 0.0), # Yellow
24-
fancy.CRGB(0.0, 1.0, 0.0), # Green
24+
fancy.CRGB(0.0, 1.0, 0.0), # Green
2525
fancy.CRGB(0.0, 0.5, 0.5), # Cyan
2626
fancy.CRGB(0.0, 0.0, 1.0), # Blue
2727
fancy.CRGB(0.5, 0.0, 0.5)] # Magenta
@@ -44,7 +44,7 @@
4444
fancy.CRGB(0, 123, 255),
4545
fancy.CRGB(0, 68, 214)]
4646

47-
# Declare a NeoPixel object on NEOPIXEL_PIN with NUM_LEDS pixels,
47+
# Declare a NeoPixel object on NEOPIXEL_PIN with NUM_LEDS pixels,
4848
# no auto-write.
4949
# Set brightness to max because we'll be using FancyLED's brightness control.
5050
pixels = neopixel.NeoPixel(NEOPIXEL_PIN, NUM_LEDS, brightness=1.0,

0 commit comments

Comments
 (0)