Quote Originally Posted by bill12780 View Post
Man I learn alot reading this forum!

Where is the above mentioned "$8D" command documented? I had no idea you could do that? I knew you could shift right or left but did not know you could "jump" to a position...

Thanks to everyone for the education!

Bill12780
Hi Bill,

It isnt specifically mentioned in the PBP manual as it depends on the LCD driver chip in your display but for any HD44780 or compatable controller it will work.

Download the datasheet for an HD44780 and look for the section on setting the registers.

DDRAM is the command to look at.

With bit 7 set you are setting where the data sent to the display is written.

%1xxxxxxx

$80 which is %10000000 is the first display position on Line1
$C0 which is %11000000 is the first position on line 2

increasign either of those values will move you along the line so that you can write at any position. This means you dont have to rewrite the entire display if all that is changing is a single character.