formatted string over uart (by ibrahimattaka)
would you plz some one describe formatted string over uart
xFE\x58\xFE\x42\x00
(no subject) (by MGP)
These are instructions to move the cursor.
Sending an \xFE (254 in decimal) as an instruction to the LCD to say that an instruction follows, like \x58.
The latter may mean a CLSCR, depending on the serial LCD you use.
For example:
\xFE = Attention (an instruction follows)
\x48\x00 = go to line 0 (usually line 1)
The instructions can be found in the manual of your serial (uart) LCD, usually written in decimal that you need to convert to hex.
Different types of LCDs have different instructions.