Updated the atmel code for the button.