ahodges9 / LedFx

LedFx is a network based LED effect controller with support for advanced real-time audio effects! LedFx can control multiple devices and works great with cheap ESP8266 nodes allowing for cost effectvice syncronized effects across your entire house!
MIT License
384 stars 91 forks source link

Brightness scale? #92

Open emdeex opened 4 years ago

emdeex commented 4 years ago

Hi... sorry for what is probably a dumb question... I'm looking at the brightness setting... and its default of 1.... but what's its scale? Is it from 0 to 1... or 1 to 10?

shauneccles commented 4 years ago

0 = Off. 1 = Full Brightness.

So for 50% brightness, set to 0.5

GrumpyMeow commented 4 years ago

I'm unable to set a brightness of "0.5" and/or "0,5". Can this be caused by a different regional decimal seperator? In the Netherlands this a comma. I'm pretty sure it has got to do with: [if (e.target.value.indexOf(".") == -1) {]https://github.com/ahodges9/LedFx/blob/1211befb375f2d53968f68c1c63cc12c4603e50f/ledfx/frontend/components/SchemaForm/Utils.jsx#L63)

not-matt commented 4 years ago

That's a bug. Type 5, then put a . before it

On Sat, 28 Mar 2020, 14:59 Meow, notifications@github.com wrote:

I'm unable to set a brightness of "0.5" and/or "0,5". Can this be caused by a different regional decimal seperator? In the Netherlands this a comma.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ahodges9/LedFx/issues/92#issuecomment-605458599, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHXFVTAKD6PCRARHM44HI3TRJYGFXANCNFSM4LUBPLPA .