Added disconnect for digital pins.