Skip to content

Support for atmega328 (not-p version of atmega328p) #206

@cmaglie

Description

@cmaglie

Originally submitted here: arduino/Arduino#125

here is the diff in Boards.h:

@@ -129,7 +129,7 @@ writePort(port, value, bitmask):  Write an 8 bit port.
 #endif

 // Arduino Duemilanove, Diecimila, and NG
-#if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__)
+#if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) || defined(__AVR_ATmega328__)
 #if defined(NUM_ANALOG_INPUTS) && NUM_ANALOG_INPUTS == 6
 #define TOTAL_ANALOG_PINS       6
 #define TOTAL_PINS              20 // 14 digital + 6 analog

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions