mirror of
https://github.com/esp8266/Arduino.git
synced 2025-10-16 22:27:59 +03:00
Updating libraries for atmega328 (adding it to a couple of #if's, etc.).
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user