set wakeup pin to be digital input