Maybe there is standard solution to this?
One way would be to make pwmLevel global and set its value before entering the ALL_FADE_DOWN_TOGETHER state.
Please post your complete program
Maybe there is standard solution to this?
One way would be to make pwmLevel global and set its value before entering the ALL_FADE_DOWN_TOGETHER state.
Please post your complete program