Knowledge Base

OBLCD: Programming the cursor, clearing the screen

The cursor position is the place on the LCD screen where any new information will be displayed. It may be visible or invisible. When it is visible it may may be a simple underline or a blinking rectangular block.

You need to take great care to make sure the cursor is where you want it before you actually display something on the LCD. When you do display something, be it a text message, a number or a special character, the cursor will end up at the character position following the last character displayed. That means you can display 2 or more items, one after the other, and they will be displayed in the same order.

The cursor behaves “correctly” at the end of a display line, i.e. carries down to the start of the following line (providing you have initialized to the correct display type). However, when it gets to the very end of the display its behaviour is unpredictable.

The LCD has no scroll function.