ATtiny85 troubleshooting

  • LEDs too dim: check you've set the pinmode to OUTPUT eg pinMode(PB0, OUTPUT);
  • ATtiny85s come as default set to 1MHz. Always do "Tools -> Burn Bootloader" before you start. Mostly you'll want "8 MHz (Internal)"
  • Digispark: Sketch -> Upload, not Sketch -> Upload using Programmer
  • Digispark: plug it into USB only when told, not before Sketch -> Upload