Is there a pin map for the Arduino. Integer Pin to Board pin?
pinMode( *Need the Int Value map ,OUTPUT);
thx
Is there a pin map for the Arduino. Integer Pin to Board pin?
pinMode( *Need the Int Value map ,OUTPUT);
thx
Hi
So do I use the physical PIN number to address the gpio function call? Because I can’t pass D5 as an integer. Or is there a seeed header file I should be including with definitions?
Thanks
Mark
Sorry for misleading guidance, you only need to use the integer, for example, pinMode(5, INPUT).
So use the header PIN number? For all the pins?
We follow the pattern from the official Arduino. For Digital pins use just the number, For Analog pins, use A+number, for example A0.
You can also check here for reference: https://github.com/Seeed-Studio/ArduinoCore-samd/blob/master/variants/arduino_zero/variant.h