> On Jul 1, 2005, at 12:34 PM, Mario Mendes Jr. wrote: > >> I'm working on a little project and have just one i/o pin left in the >> pict. Two things about it, first, is that I feel that really must find >> something for that pin to do as not to go to waste =) and, second, I >> would really like to include a keyboard/keypad in this project. There is a high level description of the 1 pin analog keyboard matrix in the Tips 'n Tricks book, Tip #7. Its just the theory, and does not give an example. http://ww1.microchip.com/downloads/en/DeviceDoc/40040b.pdf > I've been including a provision for one of those IR RC detector modules > on circuits where I have an extra input pin. I figure a TV remote > control > is a fine keypad, and it's only a small matter of programming away... I have a "blinkie" that has the IR detector, using RC-5 IR standard. The sorce code is on the link I list bellow. I also used their tip#2 for driving 38 LEDs (can do 42) with 7 IO lines on a blinkie board, thier diagram in the book is wrong! http://www.2dkits.com/zencart/index.php?main_page=product_info&cPath=1&products_id=1 Dwayne Forsyth -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist