change mode switch pins to avoid interrupt pins