Other Parts Discussed in Thread: ENERGIA
HI i am try to generate two different frequency for PWM and in code i found you can not generate and control PWM duty cycle .
Let me know how to generate two PWM with different period and Duty cycle .
pinMode(PWM1, OUTPUT);
pinMode(PWM2, OUTPUT);
analogWrite(PWM1, DT_CY);
analogWrite(PWM2, DT_CY2);
i tried with pin 9 and 10 and if try to one other pin is effecting ....
Note- One More thing Energia IDE not accepting PWM-Leonardo library (PWM.h).