Skip to content

Commit

Permalink
Merge pull request #61 from georgebohnisch/master
Browse files Browse the repository at this point in the history
Add colors for RGBW strips to target the RGB or RGBW LEDs
  • Loading branch information
rhooper authored Jul 13, 2020
2 parents 5d99d5f + 30af259 commit c18151f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion adafruit_led_animation/color.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
# THE SOFTWARE.
"""Color variables made available for import for CircuitPython LED animations library.
RGBW_WHITE_RGB is for RGBW strips to illuminate only the RGB diodes.
RGBW_WHITE_W is for RGBW strips to illuminate only White diode.
RGBW_WHITE_RGBW is for RGBW strips to illuminate the RGB and White diodes.
RAINBOW is a list of colors to use for cycling through.
"""
RED = (255, 0, 0)
Expand All @@ -41,8 +45,11 @@
JADE = (0, 255, 40)
AMBER = (255, 100, 0)

RAINBOW = (RED, ORANGE, YELLOW, GREEN, BLUE, PURPLE)
RGBW_WHITE_RGB = (255, 255, 255, 0)
RGBW_WHITE_W = (0, 0, 0, 255)
RGBW_WHITE_RGBW = (255, 255, 255, 255)

RAINBOW = (RED, ORANGE, YELLOW, GREEN, BLUE, PURPLE)

try:
try:
Expand Down

0 comments on commit c18151f

Please sign in to comment.