nishanchettri
Published © CC BY-NC-ND

Programming ATTiny Using Arduino as ISP

ATTiny is a useful chip for small projects requiring less than 5 pins.

BeginnerProtip2,728
Programming ATTiny Using Arduino as ISP

Things used in this project

Story

Read more

Schematics

Schematics

Code

tiny.ino

C/C++
void setup() {
 
  pinMode(4, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(4, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(4, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Credits

nishanchettri
6 projects • 4 followers
Maker with an infinite curiosity to learn.
Contact

Comments

Please log in or sign up to comment.