Quote:
|
Originally Posted by Anton
well, I'm sure I used the .mcp file(I mean, I wouldn't see the project tree if I hadn't, would I?)
I'm using the 2.2 code version(from ifirobotics.com), with minor difications to the default routine.c & .h
I thought that mabe I didn't use the generate_pwms properly, could you please explain how to use it?
|
I believe the generate_pwms function handles only PWM outputs 13-16. All the other PWM outputs are handled elsewhere. PWM 13-16 are a little different from 1-12, in that there is explicit code to generate the PWM signals. For pwm 1-12, no such explicit code exists, and to us, those PWM signals are
auto-magically generated.
Basically, you should never have to use generate_pwms with pwm outputs 1-12. Just do "pwm01=255;" and get out of the way =).
-SlimBoJones...