Search found 5 matches

by Vadim777
Sat Jun 19, 2021 4:12 pm
Forum: IDE's
Topic: Pin Names for LED_BUILTIN in Arduino 1.8.15 (STM32F401RE).
Replies: 9
Views: 6827

Re: Pin Names for LED_BUILTIN in Arduino 1.8.15 (STM32F401RE).

It's a NUCLEO-64, not generic. So, I have a partial success: the export of .BIN from Arduino IDE v2 (rev. beta 7) with the Arduino convention LED pin name D13 have succeeded. Directly, I can not burn from Arduino IDE v2, because Arduino can not find the STM32CubeProgrammer executable, which in turn ...
by Vadim777
Sat Jun 19, 2021 3:37 pm
Forum: IDE's
Topic: Pin Names for LED_BUILTIN in Arduino 1.8.15 (STM32F401RE).
Replies: 9
Views: 6827

Re: Pin Names for LED_BUILTIN in Arduino 1.8.15 (STM32F401RE).

the sketch failed to flash or failed to run
With the logs, is all OK. Once more, it works with the other .BINs, but not with Arduino's.

Thanks.
by Vadim777
Sat Jun 19, 2021 3:33 pm
Forum: IDE's
Topic: Pin Names for LED_BUILTIN in Arduino 1.8.15 (STM32F401RE).
Replies: 9
Views: 6827

Re: Pin Names for LED_BUILTIN in Arduino 1.8.15 (STM32F401RE).

are you sure your LED is at PA5? Yes, I'm sure. It's PA5 or D13, if I would like to use an Arduino convention. use a simple dry cell to test it Yes, that is the first thing, that I was thinking of - I have an extra LED (with 1kOhm R) that I was connecting to the other pins (with the change of code)...
by Vadim777
Sat Jun 19, 2021 8:44 am
Forum: IDE's
Topic: Pin Names for LED_BUILTIN in Arduino 1.8.15 (STM32F401RE).
Replies: 9
Views: 6827

Re: Pin Names for LED_BUILTIN in Arduino 1.8.15 (STM32F401RE).

So, this is the code: //On-board LED pin number #ifndef LED_BUILTIN #define LED_BUILTIN PA5 #endif // the setup function runs once when you press reset or power the board void setup() { // initialize digital pin LED_BUILTIN as an output. pinMode(LED_BUILTIN, OUTPUT); } // the loop function runs over...
by Vadim777
Fri Jun 18, 2021 6:52 pm
Forum: IDE's
Topic: Pin Names for LED_BUILTIN in Arduino 1.8.15 (STM32F401RE).
Replies: 9
Views: 6827

Pin Names for LED_BUILTIN in Arduino 1.8.15 (STM32F401RE).

Hi all. I'm going to use the Blink example from Arduino IDE 1.8.15 (my board is STM32F401RE). How shall I put the names of the built-in LED into an Arduino sketch? Various names (D13, 13, LED_BUILTIN, etc.) don't work for me. LED doesn't blink. Upload via Mass Storage works (MBED Blink Example; .BIN...

Go to advanced search