This sketch uses the DIP switches as a code to open the Pod Bay doors (so there, HAL!). It also prints the door status to the serial monitor.