Page 1 of 1

[New User] Access additional pins from Arduino IDE?

Posted: Wed Mar 15, 2023 9:53 pm
by arkenPatch
Hi everyone,
I'm new to the STM32 world and just picked up my first STM32F446RE Nucleo6-64 board.
Is it possible to use the non "arduino" pins as additional GPIO pins? Is there a lesson or tutorial someone knows of on how to call these pins in the arduino IDE?

For example. I can see CN9 and CN5 are the typical Arduino pins and they share the closest row of the morpho connector. But what about the outside row of the morpho connector? Is there a way to use these pins through the Arduino IDE?

Re: [New User] Access additional pins from Arduino IDE?

Posted: Wed Mar 15, 2023 10:33 pm
by GonzoG
Just use their "names" PA1, PB4, etc.

Re: [New User] Access additional pins from Arduino IDE?

Posted: Wed Mar 15, 2023 11:36 pm
by arkenPatch
So you're saying(based on the image);

Image

pinMode(12,INPUT);
can be written as
pinMode(PA6, INPUT);

and that can be used for the outer, non-arudino rows also?
like;

pinMode(PC8, INPUT);