Use digital pin,both as input and outpout,without always reconfiging the pinMode