<

6

embedded programming

This week, the task was to program our board. I started by reviewing the data sheet and reviewing my board schematic noting that my LED was in PB2, and my button was in PA7.

I wanted to get an initial blink working on my board. I borrowed a sample tutorial from a previous tutorial and was able to get that working. The key was in changing the pin configurations.

The programming of the code onto the board was straightforward, following the same instructions from the previous Hello World Echo process.

Since I had been interacting directly with the terminal to program the board, but I wanted to try another process with the Arduino IDE.

It turns out the Arduino IDE has a great list of example libraries that one can use. I used the blink library and was able to also get the same end result by changing the pin outputs.

I wanted to get a little bit more advanced to make use of the button, but I didn't get that far.