> Does anyone have a circuit for using 2 or 3 switches and a > 5 K Ohm pot on a single A/D PIC pin? http://home.clear.net.nz/pages/joecolquitt/0pots.html This worked OK for me. Although it's an external ADC with an F84 (on Page 2) the method works equally well with the built-in ADC of an F877 and a 4017 / 4016 / 4051 / 74138 / whatever -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics