sorry, ASCII art is not my specialty. The port lines need a pullup resistor, which I neglected to add. Unfortunately, you can't detect multiple key strokes. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu