11_OUTPUT DEVICES

josefinaPETRINI

_RGB

This week's assignament: add an output device to a microcontroller board and program it to do something. As Im working with light I decided to do use the RGB device, taken from the Class Archive files and redraw it.

To program the board:

  • I used the AVR programmer, so in the command prompt terminal run the make -f hello.RGB.45.make program avrisp2 to make the hex file and program the Attiny45
  • .

    In order not to change the header coming from the battery, I had to connect both GND(-) and VCC(+) in the 4pin header.

    After, I tried programming it in Arduino