The pin numbers used in digitalWrite() and digitalRead() are always the numbers printed on the Arduino board. Pin 8 is always the one labelled "8".
There are some different capabilities. All pins on the DUE can do PWM but not all on the UNO.
The pin numbers used in digitalWrite() and digitalRead() are always the numbers printed on the Arduino board. Pin 8 is always the one labelled "8".
There are some different capabilities. All pins on the DUE can do PWM but not all on the UNO.