From cf3ce01dad6991d0882a867dea44aa6cabf6db38 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sat, 8 Nov 2008 21:57:48 +0000 Subject: Updating libraries for atmega328 (adding it to a couple of #if's, etc.). --- libraries/Firmata/Firmata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/Firmata/Firmata.h') 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 -- cgit v1.2.3-18-g5258