// Define LED pins (common for both ATtiny85 and ATtiny13)
const int ledPins[] = {0, 1, 2, 3, 4}; // Pin numbers (for ATtiny85)

// Set number of LEDs to blink
const int numLeds = 5;

void setup() {
  // Initialize each LED pin as an output
  for (int i = 0; i < numLeds; i++) {
    pinMode(ledPins[i], OUTPUT);
  }

  // Initialize the random number generator
  //randomSeed(analogRead(0)); // Uses analog noise from pin 0 to seed the RNG
}

void loop() {
  // Choose a random LED to blink
  int ledIndex = random(0, numLeds);

  // Blink the selected LED
  digitalWrite(ledPins[ledIndex], HIGH);  // Turn the LED on
  delay(random(100, 500));                // Random delay between 100ms and 500ms
  digitalWrite(ledPins[ledIndex], LOW);   // Turn the LED off
  delay(10);                // Random delay between 100ms and 500ms
}
ATTINY8520PU
tiny:PB5
tiny:PB3
tiny:PB4
tiny:GND
tiny:PB0
tiny:PB1
tiny:PB2
tiny:VCC
led1:A
led1:C
led2:A
led2:C
led3:A
led3:C
led4:A
led4:C
led5:A
led5:C
r5:1
r5:2