[New User] Access additional pins from Arduino IDE?

Post here first, or if you can't find a relevant section!
Post Reply
arkenPatch
Posts: 2
Joined: Wed Mar 15, 2023 9:48 pm

[New User] Access additional pins from Arduino IDE?

Post 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?
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 26
Location: Prudnik, Poland

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

Post by GonzoG »

Just use their "names" PA1, PB4, etc.
arkenPatch
Posts: 2
Joined: Wed Mar 15, 2023 9:48 pm

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

Post 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);
Post Reply

Return to “General discussion”