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.
11 years, 5 months ago.
PWM on the FRDM KL25Z
Hi, I guess the MBED API is well design abstract layer, so the question is: Can I use such a API directly with this board?
I want to start working with the PWM functionality, but I haven't seen any example for PWM or anything that is not acceleromter, gpios and touch.
Thank you!!
Question relating to:
2 Answers
11 years, 5 months ago.
You can simply use PwmOut on all pins labelled as PwmOut. (And some others, such as the RGB led, good chance those pins share hardware with the normal PwmOut though). Several of the KL25Z examples use PWM, and you can use it in exactly the same way.
11 years, 5 months ago.
Thank you, you're right, I overlooked the examples where the PWM is used. Now it's time to move on ;)