4 years, 4 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:

STM32 Nucleo-144 development board with STM32F767ZIT6 MCU, supports Arduino, ST Zio and morpho connectivity

1 Answer

3 years, 10 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 Jenny Plunkett 01 Oct 2018