This should be volatile:
This should probably be INPUT_PULLUP :
You may have trouble using external interrupts to trigger the ATtiny85 when you progress on to using sleep modes. I'll try to find a reference.
Edit:
This should be volatile:
This should probably be INPUT_PULLUP :
You may have trouble using external interrupts to trigger the ATtiny85 when you progress on to using sleep modes. I'll try to find a reference.
Edit: