From 4070ed713b25953ec637517987ce90b9cdf63e7e Mon Sep 17 00:00:00 2001 From: Eric Duminil Date: Mon, 14 Mar 2022 20:58:59 +0100 Subject: [PATCH] LED notes --- ampel-firmware/config.public.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ampel-firmware/config.public.h b/ampel-firmware/config.public.h index d328f42..55d673e 100644 --- a/ampel-firmware/config.public.h +++ b/ampel-firmware/config.public.h @@ -107,10 +107,11 @@ // LED brightness, which can vary between min and max brightness ("LED breathing") // MAX_BRIGHTNESS must be defined, and should be between 0 and 255. -# define MAX_BRIGHTNESS 255 -// MIN_BRIGHTNESS, if defined, should be between 0 and MAX_BRIGHTNESS - 1 +// NOTE: LEDs require a decent amount of electricity, so the default is chosen to be relativitely low. +# define MAX_BRIGHTNESS 80 +// MIN_BRIGHTNESS, must be defined, and should be between 0 and MAX_BRIGHTNESS // If MIN_BRIGHTNESS is set to MAX_BRIGHTNESS, breathing is disabled. -# define MIN_BRIGHTNESS 60 +# define MIN_BRIGHTNESS 40 // How many LEDs in the ring? 12 and 16 are currently supported. # define LED_COUNT 12 -- GitLab