Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years ago.
PWM in KL46Z
I need to generate signal approximately 38 kHz at kit KL46Z.
I used for this PWM and it works. Nevertheless, when I use interrupt in the program (Ticker tick; or InterruptIn SW1(SW1);), PWM stops to work. Could anybody help me to tell me what I am doing wrong?
My full code
Either works PWM or interrupt. PWM function verified oscilloscope.