This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430G2533: Energia IDE Multiple PWM generation with different Duty Cycle

Part Number: MSP430G2533
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).  

 

**Attention** This is a public forum