Embedded Programming
Data Sheet
I skimmed through the D11C document, and there are many things that I don't understand, but these two diagrams reminded me of the CS/EE courses I took in my undergrad.


I also found this pinout sheet to be useful, especially combining it with the pin mapping sheet that fab provided.


Programming
Since I have already bootload the board in week 5, this week I followed the tutorial to use Arduino on it. But some tragedy happened: the connecter for the bootloader got detached by accident. I was deeply worried because I really didn't have time to mill & solder another new board. This is probably because I make the tool size to be smaller than its actual size (so I can let it mill those little details), but this makes the traces to be very very thin and thus easy to be ripped off.


Luckily, when I connect it to my computer, it still recognized well and I was still able to program
it! So I used echo
and button
examples, and it works well!


The button program basically lights up the LED whenever the user presses the button: