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.
8 years, 10 months ago.
F446RE PWM
Hi, i wrote simple PMW program but it seems it works only for pin PB_3. If i change to other PMW port (for example PA_7) nothing happens.
#include "mbed.h" PwmOut mpwm(PB_3); int main() { mpwm.period(1.0f); mpwm.write(0.50f); while(1) { } }
Could, someone explain it to me ? Thanks
2 Answers
8 years, 10 months ago.
Do you have anything attached to the board? Did you try any additional PWM outputs other than PA_7?