I am using an Arduino Uno with the Arduino as ISP sketch to program an ATtiny85.
I followed this tutorial to set up to program the ATtiny, and successfully got it to run Blink and an interrupt-free version of my program.
I then added an interrupt triggered by a button and got it working on the Arduino Uno (with a software debounce in the ISR). Now I want to run that sketch, with appropriate pin changes, on the ATtiny. Which pins correspond to which interrupt IDs for attachInterrupt()
?
Or can I not use attachInterrupt()
? If I can't, how do I do set up an interrupt on an ATtiny85?
attiny is kind of a piece of crap
. I assume you refer to the device? If that is the case then how does an Arduino core change anything? The "instead" statement is what confuses me. – alexan_e Aug 26 '14 at 6:44EXTERNAL_INTERRUPT_0
forINT0
at physical pin 7 – Gerben Aug 26 '14 at 15:45