Not sure if this has been covered (didn't see this issue in the search), but the single-version of the PWM function appears to take percent literally, versus as 0 --> 1.0.
So a 10% duty cycle is expressed as 10.0, not 0.1 as the manual would states. Thus the integral and single versions are coded the same (10 or 10.0, vs. 10 or 0.1 as stated currently).
PWM typo
We'll have to look into this. Did you see the problem on the ZX-24 or the ZX-24a? This is significant because the PWM functions are implemented differently on the mega32-based ZX devices as compared to all other models.
Last edited by dkinzer on 13 July 2007, 7:10 AM, edited 1 time in total.
- Don Kinzer
Re: PWM typo
That is correct. The examples in the documentation are incorrect.pjc30943 wrote:So a 10% duty cycle is expressed as 10.0 [...]
- Don Kinzer