7 months, 3 weeks ago.

student

Good morning family please in need help, am new in Bluetooth low energy but , am working on a project which I need to vary pwm signal with Nucleo F401RE and x cube ble 1. I will be happy if somebody can help me

1 Answer

7 months, 3 weeks ago.

Hi,

Start looking board description and select pins for PWM: https://os.mbed.com/platforms/ST-Nucleo-F401RE/ Then look at this PWM example: https://os.mbed.com/docs/mbed-os/v5.14/apis/pwmout.html#pwmout-hello-world The example have PWM output LED1 PwmOut led(LED1); You can use any your board PWM pins (PA_0, PA_1, PB_1 ...) PwmOut pwmout(PA_0);

Regards, Pekka

Thank you for your answer, but my problem now is how I con vary the duty cycle using BLE through android phone thank you

posted by berard owusu asah 19 Nov 2019