change default color
This commit is contained in:
parent
2ff3df811a
commit
58774264f6
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import board
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
def defaultPattern(n, t):
|
def defaultPattern(n, t):
|
||||||
return (n % 255, 0, (t * 50) % 255)
|
return (((n + t) * 5) % 255, (t * 42) % 255, (t * 50) % 255)
|
||||||
|
|
||||||
class LightStrip:
|
class LightStrip:
|
||||||
def __init__(self, data_pin = board.D18, string_length = 300, brightness = 1, pixel_order = neopixel.GRB, max_changes = 5):
|
def __init__(self, data_pin = board.D18, string_length = 300, brightness = 1, pixel_order = neopixel.GRB, max_changes = 5):
|
||||||
|
|
Loading…
Reference in a new issue