From e13d186218a3ed537532876e6f82862f18667af6 Mon Sep 17 00:00:00 2001 From: Nico Date: Fri, 23 Oct 2015 10:41:56 +0200 Subject: Increased 32u4 maximum pin number --- variants/leonardo/pins_arduino.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'variants') diff --git a/variants/leonardo/pins_arduino.h b/variants/leonardo/pins_arduino.h index 967ba81..1d98e5e 100644 --- a/variants/leonardo/pins_arduino.h +++ b/variants/leonardo/pins_arduino.h @@ -88,7 +88,7 @@ #undef OCR2_6 #undef OCR2_7 -#define NUM_DIGITAL_PINS 30 +#define NUM_DIGITAL_PINS 31 #define NUM_ANALOG_INPUTS 12 #define TX_RX_LED_INIT DDRD |= (1<<5), DDRB |= (1<<0) -- cgit v1.2.3-18-g5258