sleep when pressing a button on keypad
My target is :my device when the main run is OFF = SLEEPThen its right this code ?When i pressed for a time > 300 mses button (OFF/on ) my device must wakeup , my button il connected to pin wakeup this is my code Which timer and i must use for t...