Programmable selector switch, can be programmed by connected apparatus