I am using the Portenta Machine control board for my project, and I am trying to control a stepper motor. However I am struggling to find the corresponding Pin names. In the portenta H7 board, D6 pin is a PWM pin. But how do I use this for the Portenta machine control where my motor is connected to Digital output 6?
The statement what you posted is what I used and am still using. I created this thread/question as I wanted to know the name of the pins of the PMC so that I could use the AccelStepper library. However I was not able to use the library(or maybe I made a mistake somewhere) with the PMC.
With respect to your question, I dont think you can normally assign to a random number in your case "3". However, each pin has a specific name and for Dig. Out 0 in the PMC, it is PI_6. You could find that information in the documentation.
So how do you address the pins of an Arduino UNO in the IDE? For example, if you want to use a stepper.
I am quite not sure whether I get your question. Neverthless, You can access the digital pins of Uno by using pinMode() and digitalWrite() function along with the number of the pin.