Lucian wrote: > If she code should work correctly, i should have the keys > pressed echoed back to the LCD -- which is not happening. What keys and what LCD ? Has these been mentioned before ? It seems that there are a number of things you havn't told yet. Maybe a short description of the environment where this piece of code is running would help others better understand it ? But maybe most important, make sure you can get the serial communication (using your tools) to run *at all*, using the smallest possible code piece. That would be much easier to debug. *Then* add the bells-n-whistles like buffer management. The LEDs could still be a good idea, thought... Jan-Erik. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads