Q: Do you have some examples in assembly/C , preferably C , for how to drive the Serial LCD. I could only find a BasicStamp example.
A: Unfortunately
for everyone else I break out in a rash when I have to work with C. I use assembly and java for developing for the
PICMICROS. However via the MPLAB plugin you can work with C ( once we can figure
out how to get it going for everybody )
Here is a quick ( 1min30sec ) screenshot video example example of using the UARTEcho with the SerialLCD
The MiniTerminal sends the string to the PIC which echos it and displays it in the MiniTerminal output pane and also the SerialLCD
Q: What are the features of the SerialLCD - is it modelled after any commercial part?
A: No - but we will be selling a SerialLCD that does support the feature set soon along with the muvium java source code of the (real) serial LCD.
You can also study the source code of the (virtual) LCD, SerialLCD.java , component to see which commands are supported.
The following list are the ASCII of the special commands
SPECIAL_PrintChar = 0
SPECIAL_clear = 1
SPECIAL_Home
= 2
SPECIAL_CursorLeft
= 3
SPECIAL_CursorRight
= 4
SPECIAL_CursorUp
= 5
SPECIAL_CursorDown
= 6
SPECIAL_DeleteEnd
= 7
SPECIAL_Backspace
= 8
SPECIAL_Tab
= 9
SPECIAL_LineFeed
= 10
SPECIAL_shiftLeft
= 11
SPECIAL_shiftRight
= 12
SPECIAL_CarriageReturn
= 13
SPECIAL_SetAutoShift
= 14
SPECIAL_ClearAutoShift
= 15
SPECIAL_AutoInc
= 16
SPECIAL_AutoDec
= 17
SPECIAL_SaveCursor
= 18
SPECIAL_RestoreCursor
= 19
SPECIAL_ESCAPED = 27
SPECIAL_ESCAPED2 = 91
SPECIALKEY_HOME = 49
SPECIALKEY_ARROWUP = 65
SPECIALKEY_ARROWDOWN = 66
SPECIALKEY_ARROWRIGHT = 67
SPECIALKEY_ARROWLEFT = 68