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.
6 years, 8 months ago.
Is there a way to use PwmIn library for this board effectively?
I tested the PwmIn lib written by Simon Ford (https://os.mbed.com/users/simon/code/PwmIn/file/6d68eb9b6bbb/PwmIn.h/)
I can get the dutycycle correctly. However it seems to be failed with period measurements.
Question relating to:
1 Answer
6 years, 2 months ago.
There is official API for PWM at Mbed. It's very similar to library, which you've posted.
To add onto this comment, the API documentation for Mbed OS 5's PWMOut
is available here: https://os.mbed.com/docs/v5.10/apis/pwmout.html
- Jenny, team Mbed
posted by 01 Oct 2018