From bfce0a1b763156f6434e7a1df1b0658481e88192 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Mare=C5=A1?= Date: Tue, 23 Dec 2025 14:01:19 +0100 Subject: [PATCH] =?utf8?q?X-mas:=20Je=C5=A1t=C4=9B=20jeden=20Kl=C3=A1r?= =?utf8?q?=C4=8Din=20pokus?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- xmas-lights/firmware/main.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/xmas-lights/firmware/main.c b/xmas-lights/firmware/main.c index f6c8c0f..5597fa0 100644 --- a/xmas-lights/firmware/main.c +++ b/xmas-lights/firmware/main.c @@ -428,15 +428,12 @@ static void effect(void) last_update = ms_ticks; // #define DIM 1/2 -#define DIM 0.25 +#define DIM 0.7 for (uint j=0; j < NPIX_NUM_LEDS; j++) neopixel_set(j, neopixel_leds[j][0]*DIM, neopixel_leds[j][1]*DIM, neopixel_leds[j][2]*DIM); - for (uint k=0; k