added atmega code