output devices |
assignment 1. Download files to mill and sold the board and the files to program
the microcontroller (ATiny45). |
|
01. the board 02. the board working
I tried to understand the C code that controls the fade and the colors
of the LED. I downloaded a free program to edit C code called Smultron The first part there are definitions that simplify
the code. The pins connected to the led are redefined as a red (1<<PB1),
green (1<<PB0), blue (1<<PB2). This is the code:
|