Change DigitalIn and Out