Hello,
diesel:
I have a sketch that I want to use with a mega 1280, arduino and an Uno. In order for each of these to work I need to setup some items differently. Can I use a #ifdefine statement to do this? What I am looking for is something like this:
#if defined(__AVR_ATmega1280__)
//Use Serial2
#endif
#if defined(__AVR_ATmega328P__)
//Use Serial
#endif