10 years, 10 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

10 years, 10 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.

how can we give input to frdm to get pwm out

posted by rasika kole 14 Mar 2018
10 years, 10 months ago.

Thank you, you're right, I overlooked the examples where the PWM is used. Now it's time to move on ;)