Max Prokhorov
Max Prokhorov
\* `analogWrite(_light_channels[channel].pin, pwm)` and there's a 2nd pwm_start in _lightProviderHandleUpdate
ah, and notice that value upper range is set via `LIGHT_MAX_PWM`, right now it is the default 10000 which should be 255 to fit the Core value range (or it...
> > ah, and notice that value upper range is set via `LIGHT_MAX_PWM`, right now it is the default 10000 which should be 255 to fit the Core value range...
> there is a problem in UI, when I choose a color from the color wheel, it jumps to the opposite side and chooses another color, why is that? when...
> There is the same problem with _lightFromHsvPayload, I changed the orders of values 1 and 2 but it didn't make any change. > > https://github.com/xoseperez/espurna/blob/9087fcf618538830dbf73e5cc6ea7c82db8a09c9/code/espurna/light.cpp#L1088-L1094 Current HSV calculation returned...
> Hello, this approach doesn't work anymore! did you make any changes to the code? just https://github.com/xoseperez/espurna/commit/b9db53595056efe0d0cd012913245cd066eb799f to check whether the pin number can be used to access io{func,mux} arrays...
yes, hence the check :) ```cpp io_info[index][0] = _light_iomux[pin];
smoother transitions between brightness levels? afaik analogWrite has frequency is 1khz vs 10khz new_pwm uses, and there's slightly different scaling (as commented above analogWriteResolution 8bit vs. 10bit) when it comes...
> > smoother transitions between brightness levels? afaik analogWrite has frequency is 1khz vs 10khz new_pwm uses, and there's slightly different scaling (as commented above analogWriteResolution 8bit vs. 10bit) when...
> 2. Have a single image for all the 3 versions Have a single image (like espurna--lctech-esp01-stm-relay.bin) and > - have an option on the web UI to choose how...