From 788ecf9324270da20f2ef1be5f31279a9a7ff1be Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Thu, 15 Aug 2024 22:19:12 +0200 Subject: [PATCH] Update the light less often to minimize flicker --- light-loop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/light-loop.js b/light-loop.js index 60e97c9..22771bc 100644 --- a/light-loop.js +++ b/light-loop.js @@ -83,7 +83,7 @@ module.exports = async function light_loop(light_index, max_brightness, debug) { } last_color = current_color; } else { - await sleep(10); + await sleep(250); } } };