jled icon indicating copy to clipboard operation
jled copied to clipboard

Minimum brightness

Open Welsyntoffie opened this issue 2 years ago • 2 comments

I am not finding any references to minimum brightness for the breathing effect. Currently LED's turn off then fades on again. I would like to set a minimum brightness. Is that possible?

Welsyntoffie avatar Aug 27 '22 23:08 Welsyntoffie

Not yet, will add the feature soon.

jandelgado avatar Aug 28 '22 19:08 jandelgado

Thats great news, thank you.

Welsyntoffie avatar Aug 29 '22 08:08 Welsyntoffie

Just stumbled upon this through Hackaday, Wonderful library, thanks. That enhancement sounds great. I am going to use it for a bike light.

To summarize the great-rear-light-blinking-debate:
Opinion 1: A blinking rear light gives you more attention from other drivers. Opinion 2: A steady rear light helps other people in judging distance and your speed. Blinking interferes with that. If a blinking light is your only rear light, other drivers can see you, but not always locate you precisely.

So, yeah. Being able to set a constant led brightness with a blink or breath on top would be really great.

sauresahne avatar Nov 11 '22 14:11 sauresahne

Released with 4.12.0 https://github.com/jandelgado/jled/releases/tag/v4.12.0

jandelgado avatar Nov 16 '22 20:11 jandelgado

Works great. Thank you. I did notice that the stop command does not turn the led off but keeps it at the lowest set brightness. In my project I had to analogwrite=0 to completely turn off the led. But the MinBrightness does work great. Closing this issue

Welsyntoffie avatar Dec 19 '22 13:12 Welsyntoffie

Good Point. Will think about it over the holidays. I think it would still be good to be able to turn a LED fully off with Stop, perhaps by adding an optional parameter.

jandelgado avatar Dec 20 '22 20:12 jandelgado

fyi @Welsyntoffie: with JLed Release 4.13.0 (see #121 ) it is now possible to fully turn of the LED or keep the last value with Stop().

jandelgado avatar Aug 21 '23 18:08 jandelgado

Great. Thanks for info. Still going strong with my CSGO stage light strip.

Welsyntoffie avatar Aug 22 '23 16:08 Welsyntoffie