add new example code: enter IDLE mode and wake up by Timer1