For my breadboard ATtiny85 circuit, I've decided to control my LED using a toggle switch. On one setting the LED will blink. When toggled to the other setting, the LED will fade up and down. The video above shows it working. I followed the demo we did in class to program the ATtiny85 through the Arduino.
These are the steps that I followed.
- Upload the ArduinoISP program onto the Arduino
- Burn the bootloader for the ATtiny85
- Change the board to the ATtiny85 and upload my code
Here is a drawing of my circuit diagram.
Here is the code for my ATtiny85.