Embedded Programming

week6-light.jpg

This week’s assignment was to program our board from Week 4.

Modifications

First, I slightly modified my board from Week 4. The USB head was too wide, so I had to sand it down to get it to fit into my adapter. Additionally, I realized I had used a 499 kOhm resistor instead of a 499 Ohm resistor, so I removed the former and soldered on the latter.

Programming

After that, with help from Miana, I went through the guides for programming the SAMD11C and identified which pins on my chip were connected to the button and LED. After that, I wrote a few lines of Arduino code to get my LED to light up when the button is pressed.

Insert an image like this

And it works!

The Latest