From 8b8ca77d2c3df696b512d0a27b91d1d2480a86d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Fri, 10 Dec 2021 15:10:21 +0100 Subject: [PATCH] adding test --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 6a50791..aabaf0b 100644 --- a/main.py +++ b/main.py @@ -24,6 +24,8 @@ async def to_chroma_case(data): global pixels colored_pixels = notePixels[data["key"].lower()] + for pixelId in colored_pixels: + pixels[pixelId] = (0, 0, 100) for pixelId in colored_pixels: pixels[pixelId] = data["color"] await asyncio.sleep(data['duration'] / 1000)