Quote Originally Posted by keithdoxey
In the example code you gave you are sending to a Serial LCD display using SEROUT

LCDOUT DEFINES are exactly what the name suggests...definitions for the LCDOUT command which you are not using!!!

Likewise HSER_ defines are for HSEROUT and will have no effect on any SEROUT commands.
I have code for a serial to parallel backpack adapter, so yes i send serial commands to the adapter pic. It in turn outputs parallel LCDOUT commands and it works quite well. The code is designed to accept lcdout formatting commands to position each line on the lcd. It stores hserin data in a variable and then outputs into a standard LCD via LCDOUT. NOW in the lcd Defines which affect the PARALLEL LCD configured as a 4 bit display I have installed the following:
DEFINE LCD_LINES 2. the display seems unaffected when hooked up to a 4 line display, as it continues to correctly display 4 lines of data sent to it. SO THE QUESTION REMAINS, what good is the lines DEFINE if it doesn't limit the output to 2 lines?
JS