PontusO / mlight-4_2_pmd

4/2 channel LED light controller
1 stars 0 forks source link

Ramping stuck in state "increasing" #31

Closed AndreasKSweden closed 12 years ago

AndreasKSweden commented 12 years ago

4 channels are used. The all ramp up from 0 to 1000. The are all set to ramp down to ramp level 100 with ramp rate 50 and ramp step 1. When the "ramp down" is triggered all LED strips goes directly to 100 without ramping and in the status page I can see that the value is set to 100 and status is set to "increasing". It will not recover from this state without reboot.

PontusO commented 12 years ago

The algorithm was missing a sense of what direction it was going to count. Added this to the cycle_mgr.c