>Could someone suggest whats the best way to replace 40 dip switches? I >have 10 preset settings that I require. Some have pull up resistors, >and some has Pull-down resistors, and some are just stright switches. We did this for some telco equipment we upgraded. We replaced 5 sets of 8 dip switches (yes, 40 in total) with a small 8x1 LCD and three pushbuttons. We then used an 18-pin microcontroller (not PIC that time) with some EEPROM on it, and the dip switches became virtual. The user selected the settings off the screen. We also used the LCD's user-programmable characters to graphically simulate the old dip switches. The whole thing ended up taking less space than the original dip switches. More expensive, of course (but on the equipment it went into that didn't matter), but much more versatile and more fun! Stephen.