use digital write