edge lab LIVE! starts Tuesday in Munich. Grab a workshop seat and take home the board you build on. Code FRIEND-HACKSTER saves 20%. () Learn more!
Arnov Sharma
Published © LGPL

Learn How to Program ATtiny85 and ATtiny13A

A simple tutorial on programming ATtiny microcontrollers with an Arduino Uno.

IntermediateProtip12 minutes25,634
Learn How to Program ATtiny85 and ATtiny13A

Things used in this project

Story

Read more

Schematics

sch

Code

code

C/C++
Blink for Attiny13 and 85 (connect led on pin 5 or D0)
void setup() {

  pinMode(0, OUTPUT);
}


void loop() {
  digitalWrite(0, HIGH);    
  delay(1000);                      
  digitalWrite(0, LOW);  
  delay(1000);                      
}

Credits

Arnov Sharma
403 projects • 445 followers
I'm Arnov. I build, design, and experiment with tech; 3D printing, PCB design, and retro consoles are my jam.

Comments