I would like to know if there si a way to attach an external interrupt to other pins then pin 2 and pin 3, if yes, how?
I'm using the code from: http://www.arduino.cc/playground/Learning/ArduinoSleepCode
but i need the Atmega to wake up, when pin 13 goes high. I tryed to set "wakePin = 13;" but that did not help.
I (might) have found the "problem" in the "void sleepNow()" funktion
attachInterrupt(0,wakeUpNow, LOW) and detachInterrupt(0);
as far as I can read the "0" refers to pin 2, I could change it to "1" (pin 3), but on the PCB i made I'm using both of those pins as data pins for a display.
If I knew that I would run in to this problem I would have changed the PCB-layout, but now i'm thinking it is easyer to change it in the software.
Can it be done?