Help get this topic noticed by sharing it on Twitter, Facebook, or email.

AVR Programming

Can I use the ATmega328 for this book or I need to have the ATmega168? If no, why?Thanks!
1 person has
this question
  • Hi George,

    Sorry for the delay in getting back to you. I just heard back from the author about this and he said:
    Sure! Absolutely he can use one. The 88/168/328 are all the same except for the amount of flash memory that they have, and the extra memory won't hurt.

    One thing he will need to change, if he's using the toolchain as I set it out, is to change "m168" to "m328" in the Makefile.

    And if he's using an Arduino clone, he'll need to change F_CPU to 16000000UL because they come with an onboard 16 MHz crystal.

    And that should do it!


    Best regards,
    Chris Olson
    O'Reilly Customer Service
  • (some HTML allowed)
    How does this make you feel?
    Add Image

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned