Skip to content

Commit 1365b2c

Browse files
committed
Extended range of digital pins for Pinoccio
1 parent 953fb46 commit 1365b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Boards.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ writePort(port, value, bitmask): Write an 8 bit port.
567567
#define VERSION_BLINK_PIN 23
568568
#define PIN_SERIAL1_RX 13
569569
#define PIN_SERIAL1_TX 14
570-
#define IS_PIN_DIGITAL(p) (((p) >= 2) && ((p) <= 8)) || (((p) >= 24) && ((p) <= 31))
570+
#define IS_PIN_DIGITAL(p) (((p) >= 2) && ((p) <= 16)) || (((p) >= 24) && ((p) <= 31))
571571
#define IS_PIN_ANALOG(p) ((p) >= 24 && (p) <= 31)
572572
#define IS_PIN_PWM(p) digitalPinHasPWM(p)
573573
#define IS_PIN_SERVO(p) IS_PIN_DIGITAL(p)

0 commit comments

Comments
 (0)