AVR154 appnote adapted for attiny13a and gcc