From ae2ddab2b4aef23346aae6ba5ec14c7b7a1ccf7c Mon Sep 17 00:00:00 2001
From: Benjamin Koch <bbbsnowball@gmail.com>
Date: Sat, 20 May 2023 16:41:55 +0200
Subject: [PATCH] make LEDs full brightness because they have to shine through
 the case, now

---
 firmware/test1/heizung-test1/src/main.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/firmware/test1/heizung-test1/src/main.cpp b/firmware/test1/heizung-test1/src/main.cpp
index 9045b6b..858ff66 100644
--- a/firmware/test1/heizung-test1/src/main.cpp
+++ b/firmware/test1/heizung-test1/src/main.cpp
@@ -547,7 +547,8 @@ void loop() {
       int h = ((ledring_state + 4*i)%(256*4)) * (256/4);
       int y = ((uint32_t)(i-ledring_state/3))%64 - (int32_t)32;
       int v = y >= -10 && y <=10 ? 50 : y >= -20 && y < -10 ? (y+20)*5 : y <= 20 && y > 10 ? (20-y)*5 : 0;
-      pixelsDisplay.setPixelColor(i, pixelsDisplay.ColorHSV(h, 255, y <= 1 && y >= -1 && 0 ? 255 : v/16));
+      //pixelsDisplay.setPixelColor(i, pixelsDisplay.ColorHSV(h, 255, y <= 1 && y >= -1 && 0 ? 255 : v/16));
+      pixelsDisplay.setPixelColor(i, pixelsDisplay.ColorHSV(h, 255, y <= 1 && y >= -1 && 0 ? 255 : v));
     }
     pixelsDisplay.show();
   }
-- 
GitLab