Hello, i have a question regarding arduino and the sleep mode function it has that ive been reading up on!
Before i get to the question let me give you a little back story. (short, i promise)
I'm using the Arduino Uno and I see here Arduino Playground - HomePage that the Uno must be triggered (interrupted) from pins 2 or 3.
But my problem is that my LED matrix (Medium 16x32 RGB LED matrix panel - 6mm Pitch : ID 420 : $24.95 : Adafruit Industries, Unique & fun DIY electronics and kits) is using both of those pins to display my scores (its for a game). These scores are triggered from a couple of switches (that i hope to use as the interupts for sleep) but these switches are in pins other than 2 and 3. Specifically Digital 10 through 13
But if i just tap from those switches to pin 2 or 3 for the sleep function, every time i wake up the arduino it will display some funky stuff on my LED matrix ( pins 2 and 3 are reserved for the matrix)
Okay heres the question. What code will i use to have pin 2 ONLY be looking for the high pulse (from my switch) when its asleep and NOT when the arduino is on?
Thank you in advance!