added fin's atmega code