aboutsummaryrefslogtreecommitdiff
path: root/libraries/Firmata/Firmata.h
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2008-11-08 21:57:48 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2008-11-08 21:57:48 +0000
commitcf3ce01dad6991d0882a867dea44aa6cabf6db38 (patch)
tree371bd6250476cf92121755c6573d7e97cfe95e5f /libraries/Firmata/Firmata.h
parentb2e063e13e76c42489b8e5216cd4e409ffd39ecc (diff)
Updating libraries for atmega328 (adding it to a couple of #if's, etc.).
Diffstat (limited to 'libraries/Firmata/Firmata.h')
-rw-r--r--libraries/Firmata/Firmata.h2
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