Hello,
I wish to generate 3 PWM's which are out of phase with each other. I used the pwmStart function for each of the 3 PWM's delayed by the function delay(). It is shown below:
hetInit(); pwmStart(hetRAM1,pwm1); delay(); pwmStart(hetRAM1,pwm2); delay(); pwmStart(hetRAM1,pwm3);
While debugging, I found that all the 3 PWM's start simultaneously after the first pwmStart instruction itself, rendering the delay() function useless. Where am I going wrong with this method?
Is there any better alternative to this approach?
Thanks and Regards,
Nimit.