Embedded programming

Assignment for week eight (March 19, 2014)

This assignment for this week is to read a microcontroller datasheet and to program the board to something, with as many different programming languages and programming environments as possible.
I opted to use the Arduino IDE to achieve my assignment. I found Arduino to be easy to learn, considering that I am not a fan of programming and haven't done it in a long time. I tried C programming language in the assignment, however I ran into issues and errors and found it too frustrating - thus I stuck with arduino.

1. Downloading & Installing Arduino IDE

2. Downloading the ATtiny board files & FTDI drivers

3. Locating Arduino Sketchbook folder

4. Connecting ATtiny

USB cable

5. Configuring the ATtiny to run @ 20MHz

6. Burning the Bootloader

bootloading


7. Programming the ATtiny
modified code   led_on


8. Modifying Code

Code line

led_off

led_on