Commit c847a7e
committed
Fix NUM_DIGITAL_PINS
Previously, this was 23, which is the number of the last regular digital
pin instead of the number of pins (which is 24, numbered 0 - 23).
Additionally, this number did not include the analog pins, which are for
the purposes of this constant also digital pins.1 parent 11b5e2a commit c847a7e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments