misunderstood the _BV() macro in avrio.h. tried to make my own #define macro for clockfreq but that turns out to make it non-portable code (since the ADPS2, ADPS1, ADPS0 are defined in the .h files for the respective microcontroller.