Zach Cohen / How to Make (almost) Anything

Embedded Programming / Blinks

I hooked up the USB and FTDI cables to the programmer and microcontroller. I started by using the Blink program in Arduino. At first, I uploaded the program directly to the board from Arduino. Then I exported the Hex file from Arduino and uploaded the program to the board from the Terminal using AVRDude. I also rewrote the blink program in C and uploaded it to the board from the terminal using Crosspack.

I then modified the script in both Arduino and C so that the LED would repeatedly blink while the button was held down and remain off when the button was not pressed.

The most challenging things were understanding how to call out the different AVR ports, how to set up .make files, and how to use AVRDude with AVRGCC.