3

It's possible use external interrupts/attachInterrupt() with the ATtiny85 when I program with Arduino IDE?

If is possible, how many inputs (for external interrupts) the ATtiny85 have and which are they? Someone have an example code?

Romildo
  • 31
  • 1
  • 2

1 Answers1

2

Pin PB2 is the only pin that has a real external interrupt. This is INT0.

Whether you can use attachInterrupt(0, ...) or not is entirely down to whether it is implemented in the core that you are using.

Majenko
  • 105,851
  • 5
  • 82
  • 139