diff options
Diffstat (limited to 'libraries/Firmata')
-rw-r--r-- | libraries/Firmata/Firmata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Firmata/Firmata.h b/libraries/Firmata/Firmata.h index a0a6513..a926462 100644 --- a/libraries/Firmata/Firmata.h +++ b/libraries/Firmata/Firmata.h @@ -141,7 +141,7 @@ extern FirmataClass Firmata; #define setFirmwareVersion(x, y) setFirmwareNameAndVersion(__FILE__, x, y) // total number of pins currently supported -#if defined(__AVR_ATmega168__) // Arduino NG and Diecimila +#if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) // Arduino NG and Diecimila #define TOTAL_ANALOG_PINS 8 #define TOTAL_DIGITAL_PINS 22 // 14 digital + 8 analog #define TOTAL_PORTS 3 // total number of ports for the board |