change default pattern
This commit is contained in:
parent
42ab015458
commit
2ff3df811a
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 % 255)
|
return (n % 255, 0, (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