// ATtiny85 and The Three LEDs
// Wokwi.com demo by Uri Shaked
#define LED_PIN PB0
void setup() {
pinMode(PB0, OUTPUT);
pinMode(PB1, OUTPUT);
pinMode(PB2, OUTPUT);
}
void loop() {
digitalWrite(PB2, HIGH);
delay(500);
digitalWrite(PB2, LOW);
digitalWrite(PB1, HIGH);
delay(500);
digitalWrite(PB1, LOW);
digitalWrite(PB0, HIGH);
delay(500);
digitalWrite(PB0, LOW);
}
tiny:PB5
tiny:PB3
tiny:PB4
tiny:GND
tiny:PB0
tiny:PB1
tiny:PB2
tiny:VCC
r1:1
r1:2
r2:1
r2:2
r3:1
r3:2
led1:A
led1:C
led2:A
led2:C
led3:A
led3:C