Skip to content

Commit e13d186

Browse files
committed
Increased 32u4 maximum pin number
1 parent 2931a1f commit e13d186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/leonardo/pins_arduino.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
#undef OCR2_6
8989
#undef OCR2_7
9090

91-
#define NUM_DIGITAL_PINS 30
91+
#define NUM_DIGITAL_PINS 31
9292
#define NUM_ANALOG_INPUTS 12
9393

9494
#define TX_RX_LED_INIT DDRD |= (1<<5), DDRB |= (1<<0)

0 commit comments

Comments
 (0)