Along the same lines, you can use the I2C bus to drive the lcd and save the i/o pins altogether. Go to microchip.com, get a sample of an i2c io epander such as the mcp23016 and use that to drive the lcd =). I have one of those arriving soon although I'll be using it for something else. -Mario -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Maarten Hofman Sent: Saturday, July 02, 2005 11:16 PM To: Microcontroller discussion list - Public. Subject: Re: [PIC] Multi SPI and I2C > In case you're running low on i/o pins, you have the option of driving > your lcd serially with the following > http://www.allelectronics.com/spec/EDE-702.pdf which is actually a pic > preprogrammed so that you can drive an lcd with just one i/o pin. If you have two pins, you could use the 2-pin interface from Myke Predko's page (http://www.myke.com/lcd.htm). I personally prefer the 3-pin interface from that same page, it is very simple with a cheap ($0.39) 74HC164, and the output of the shift register can be used to control other devices as well. The EDE702 seems rather expensive to save only 1-2 pins. Depending on your application, the 2-pin or 3-pin interface could even be faster than the EDE702 solution. Greetings, Maarten Hofman. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist