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

Fix error when changing brightness value #125

Closed Nawor3565 closed 3 years ago

Nawor3565 commented 3 years ago

Most of the time, changing the brightness value will throw the error Cannot cast ufunc multiply output from dtype('float64') to dtype('int32') with casting rule 'same_kind'. Using numpy instead of the *= function will solve this error, making modifying the brightness level work as expected.