kinetis:Bug fix PWM led update
The code was forcing the CV reload, but not resettting the count this would cause short and long blinks during breathing. this change allows the CV to update at 50Hz (20 ms) asynchronously. So the LED update rate of 40Hz (25) will take effect on the next FTM counter change, end of the prescaler counting, after CnV register was written.update. a b c d LED PWM ___-___-___-___-___-___-___-___-___-___ LED Data ____-____-____-____-____-____-____-____- a b c d
Please register or sign in to comment