>> a bit 'off-topic' but if it would have been an PIC with a/d >> then it's very easy to decode x number of keys ( there x is depedning on >> number of bits in ad and cost for resistor ladder, but 16 keys >> is a breeze with any resistors and 8 bit a/d ) with 1 pin :) >> or perhaps 2 pins + some logic to have an additional 'key-down'= detection. >With an R:2R ladder you can use each switch >as a binary bit. This is a very clever idea >Tony, if you have a R:2R resistor network in >a SIL package. Isn't the same in resistive touch screen devices? ;o) ---8<---Corte aqui---8<---- Alexandre Souza taito@terra.com.br http://planeta.terra.com.br/lazer/pinball/ ---8<---Corte aqui---8<---- -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body