Coder Social home page Coder Social logo

328 family about arduino-tiny HOT 3 OPEN

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
328 family

from arduino-tiny.

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
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 [email protected] on 18 Feb 2012 at 6:14

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
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 [email protected] on 23 Feb 2012 at 4:17

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
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 [email protected] on 24 Feb 2012 at 6:59

Attachments:

from arduino-tiny.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.