hi guys,
I'll explain you what I want to do, I'd like my arduino uno v3 to sleep and wake up when one of my 2 switches get value 1 instead of 0. So I attach interrupt on pin 2 and 3, my sleep mode is : SLEEP_MODE_PWR_DOWN.
The issue is that I don't know if I hase to use pull up, or pull down or another wiring tip.
When I put these 2 switch (+5v, ground to arduino and third wire (green) to my digital pin), my input pin read 0 when the 'door' is closed and 1 when I open it. So I want the pin to wake up the arduino when it goes from 0 to 1.
Any tip to configure my interrupt / pin wiring with the switch ?
Thanks