This week's goal was to program a board that we made in the previous weeks. I programmed my LED and button board that I had designed and made two weeks ago. I programmed using C and then converting to a hex file, and uploading the program to the chip using avrdude.
I started with making the LED blink by itself, and confirm that it works. The next step was to add the button.
I read the Intro to AVR Programming book that Jonah recommended, and wrote a simple program to turn the LED on when the button is pressed. Here's the code..
This is a short video of the LED turning on when the button is pressed.