Microcontroller Programming

I was a bit busy this week, so there's not much to talk about. I took the board from the design week, connected it to the fabISP, and programmed it to blink an LED when the button is pressed.

Flashing the fabISP and programming was somewhat complicated, if only because it took me a little while to realize that I need to use sudo for certain commands (such as make -f [makefile] program-usbtiny), that the board has to be powered to be programmable, and that the cable has to be connected the right way. I don't have any pictures of making the cable, but it was very straightforward.

Finally, after some frustration, the microcontroller came alive! Here it is running Neil's test.

And here it is running Neil's assembly test. (I used to play around with self-replicating assembly programs, so I have a thing for assembly.)

Finally, a video of my own program, blink.c (makefile) blinking the LED when the button is pressed:

It blinks and I feel like I have unlocked a new level; it is very different to have a physical object you made do something a little bit alive than it is to have an Arduino do the same thing.