Affordable and flexible platform to ease prototyping using a STM32F446RET6 microcontroller.

A question in regards to Nucleo Blink LED / NUCLEO F446RE

17 Jul 2019

Hello There,

I am a beginner, all I am trying to do is instead of using LED1 with "DigitalOut myled(LED1)" replaced with PA_5. However, LED1 remains always ON....What I am missing?

  1. include "mbed.h"

User PA_5 equal LED1 DigitalOut myled(PA_5);

int main() { while(1) { myled = 1; LED is ON wait(2.0); 2 seconds delay myled = 0; LED is OFF wait_ms(0.5); 0.5 milli seconds delay } }

Cheers Australia-Colombia