change default color

This commit is contained in:
jane 2020-11-07 19:19:51 -05:00
parent 2ff3df811a
commit 58774264f6
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import board
import logging
def defaultPattern(n, t):
return (n % 255, 0, (t * 50) % 255)
return (((n + t) * 5) % 255, (t * 42) % 255, (t * 50) % 255)
class LightStrip:
def __init__(self, data_pin = board.D18, string_length = 300, brightness = 1, pixel_order = neopixel.GRB, max_changes = 5):