Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4746

Sending text to GLCD using BV4612 interface

$
0
0
I seem to be going through these serial / i2c GLCD adapters like hot cakes.. anyway I took delivery of the up to date version and I've hit a problem regarding some syntax and using it with pbp.

The manual (http://www.byvac.co.uk/downloads/dat...0DataSheet.pdf) has a command for positioning the cursor at a given row / column when a font has been selected.

Code:

esc[<row>;<col>H Y Move cursor to line and column
Quote:

Moves cursor to specified line and character position. The row and column values are effected by the
current font. For the standard font the row value will be between 0 & 7 and the column between 0
and about 31. Zero is the top left and so esc[0;0H will move the cursor to the home position. Values
out of range will be ignored.
The thing is the semi-colon is interpreted by pbp (MCS ?) as a comment and thus half the information for the column is ignored.... any ideas on how to get round this ?

Viewing all articles
Browse latest Browse all 4746

Trending Articles