Commit 80a8317
committed
unor4: fix NUM_DIGITAL_PINS macro
The macro represents the number of pins that can be actively used "directly".
Since A4/A5 are shared with SDA/SCL, the total number of unique gpios on UNO R4 headers is indeed 14+6
NUM_DIGITAL_PINS is currently unused in the core (better to use PINCOUNT #107 for any safety check)1 parent 5be4ea1 commit 80a8317
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments