Open GoogleCodeExporter opened 9 years ago
I'm planning to try this over the next few days. the 328P the following may
work:
--- TinyTuner.h (revision 64)
+++ TinyTuner.h (working copy)
@@ -481,6 +481,9 @@
#elif defined( __AVR_ATtiny45__ )
typedef TinyTunerTemplate<0x16,4> Tiny45Tuner;
typedef Tiny45Tuner TinyTuner;
+#elif defined( __AVR_ATmega328P__ )
+ typedef TinyTunerTemplate<0x03,4> Tiny328Tuner;
+ typedef Tiny328Tuner TinyTuner;
#else
#error Add a definition for your processor.
#endif
Original comment by krone...@gmail.com
on 18 Feb 2012 at 6:14
Ok, so the above does not work, but this seems to:
Index: TinyTuner.h
===================================================================
--- TinyTuner.h (revision 64)
+++ TinyTuner.h (working copy)
@@ -481,6 +481,10 @@
#elif defined( __AVR_ATtiny45__ )
typedef TinyTunerTemplate<0x16,4> Tiny45Tuner;
typedef Tiny45Tuner TinyTuner;
+#elif defined( __AVR_ATmega328P__ )
+ // RX, PIND0, PCINT16, PD0/RXD/PCINT16
+ typedef TinyTunerTemplate<0x09,0> Tiny328Tuner;
+ typedef Tiny328Tuner TinyTuner;
#else
#error Add a definition for your processor.
#endif
I had good success with one 328p. Another worked fine, but I'm having other
problems with it.
Original comment by krone...@gmail.com
on 23 Feb 2012 at 4:17
My final patch suggestion to add more (Arduino-related) ATMega and two ATtiny
chips related to the 85 in the family. Supported chips are:
ATMega48/88/168/328 and ATMega640/1280/1281/2560/2561.
NOTE: Most of the additions are untested as I only have ATMega328P chips
available to me. The data for these came from the datasheets once I understood
what ports and pins were being used and why, so in theory they should work.
Original comment by krone...@gmail.com
on 24 Feb 2012 at 6:59
Attachments:
Original issue reported on code.google.com by
arduino....@gmail.com
on 22 Dec 2011 at 6:25