added #defines from avr-datalogger project