From 58774264f6c03c0996b612c6f2f6003933a7ab2f Mon Sep 17 00:00:00 2001 From: Jane Petrovna Date: Sat, 7 Nov 2020 19:19:51 -0500 Subject: [PATCH] change default color --- light_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/light_manager.py b/light_manager.py index 65cffa0..695d2ec 100644 --- a/light_manager.py +++ b/light_manager.py @@ -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):