From ed80fcbc78ac01613e759daf9a32b4b8c5e4b8b9 Mon Sep 17 00:00:00 2001 From: Emma Laurijssens van Engelenhoven Date: Sun, 13 Oct 2024 19:33:45 +0200 Subject: [PATCH] Use the brightness data from the data stream instead of the fixed 31 --- plasma.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plasma.cpp b/plasma.cpp index f535dcf..e5a82b5 100644 --- a/plasma.cpp +++ b/plasma.cpp @@ -57,6 +57,7 @@ void plasma_flip() { Multiverse is B G R _ */ for(auto x = 0u; x < sizeof(led_buffer); x += 4) { + led_buffer[x + 0] = APA102_SOF | led_front_buffer[x + 3]; led_buffer[x + 1] = led_front_buffer[x + 0]; led_buffer[x + 2] = led_front_buffer[x + 1]; led_buffer[x + 3] = led_front_buffer[x + 2];