SPLat Logo

OBLCD_SetCur r,c

NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

OBLCD_SetCur r,c

<Cursor row:column> = r:c

This instruction moves the cursor to the specified row, r, and column, c. It does not affect whether the cursor is visible or not.

Rows are counted up from 0, starting at the top. Columns are counted up from 0, starting at the far left. Hence, valid values for the default LCD type, a 2x16 display, are r=0 or r=1, and c=0...15.

If you specify invalid values for row and column, the display will become unpredictable. There is no error checking. The SPLat/PC simulator will not behave like the actual controller under abnormal use.

Note: This instruction modifies UV

NOTE: Prior to 6 December 2019, this instruction does not have any effect until characters are written to the screen.  From 6 December 2019, this instruction will output the new position immediately if the cursor is turned on (such as via a OBLCD_CurOn command).

Dialect exclusions: Not available in dialects before 9. Also, not available on SPLat controllers that do not have onboard LCD support (please check the documentation for your specific board and Firmware version).