Added UI for controlling analog and digital pins.