Hello i have tried to look up the grand central m4 board for the RGB pinout and found out it is on Pin 88. When i look up the processor it is the ATSAMD51P20A-AU processor. And i tried to look at the pinout and pin 88 says Resetn pin. Am i wrong? I know pin 88 works when i assign it to the neo pixel sketch. But when i look the pinout up it says its a reset pin. Am i wrong does anyone know of this?
Joseph
Grand central m4 RGB pinout?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15653
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Grand central m4 RGB pinout?
The pin numbers in Arduino and CircuitPython don't equate to pins on the MCU.
Dave
Dave
- viatorus
- Posts: 1
- Joined: Thu Jun 03, 2021 11:47 am
Re: Grand central m4 RGB pinout?
Hello,
thank you for your reply.
Where do we find a mapping to know which board pin number is which concrete port pin for the MCU?
For example the red LED of the grand central M4 should be on D13. The MCU port/pin is PB01.
I didn't find any references anywhere. I looked it up in the UF2-Bootloader.
thank you for your reply.
Where do we find a mapping to know which board pin number is which concrete port pin for the MCU?
For example the red LED of the grand central M4 should be on D13. The MCU port/pin is PB01.
I didn't find any references anywhere. I looked it up in the UF2-Bootloader.
- dastels
- Posts: 15653
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Grand central m4 RGB pinout?
You can look in the pins.c file in the CircuitPython source boards directory for the corresponding board. For example, for the GrandCentral M4 Express this is https://github.com/adafruit/circuitpyth ... ess/pins.c.
The bulk of the file is the mapping from CircuitPython pin names (which correspond closely enough to Arduino pins names) to MCU pins.
E.g.:
is the mapping from D13 to PB01.
Dave
The bulk of the file is the mapping from CircuitPython pin names (which correspond closely enough to Arduino pins names) to MCU pins.
E.g.:
Code: Select all
{ MP_OBJ_NEW_QSTR(MP_QSTR_D13), MP_ROM_PTR(&pin_PB01) },
Dave
Please be positive and constructive with your questions and comments.