Este comando es para LCD gráficos (GLCD)
En la ayuda pone este ejemplo,
Syntax
Variable = LCDREAD Ypos , Xpos
Or
Variable = LCDREAD TEXT Ypos , Xpos
Overview
Read a byte from a graphic LCD. Can also read Text RAM from a Toshiba T6963 LCD.
Operators
Variable is a user defined variable.
Ypos :-
With a Samsung KS0108 graphic LCD this may be a constant, variable or expression within the range of 0 to 7 This corresponds to the line number of the LCD, with 0 being the top row.
With a Toshiba T6963 graphic LCD this may be a constant, variable or expression within the range of 0 to the Y resolution of the display. With 0 being the top line.
Xpos: -
With a Samsung KS0108 graphic LCD this may be a constant, variable or expression with a value of 0 to 127. This corresponds to the X position of the LCD, with 0 being the far left column.
With a Toshiba graphic LCD this may be a constant, variable or expression with a value of 0 to the X resolution of the display divided by the font width (LCD_X_RES / LCD_FONT_WIDTH). This corresponds to the X position of the LCD, with 0 being the far left column.
Example
" Read and display the top row of the Samsung KS0108 LCD
DEVICE = 16F877
LCD_TYPE = SAMSUNG " Target a Samsung graphic LCD
DIM VAR1 as BYTE
DIM Xpos as BYTE
CLS " Clear the LCD
PRINT "Testing 1 2 3"
FOR Xpos = 0 TO 127 " Create a loop of 128
VAR1 = LCDREAD 0 , Xpos " Read the LCD"s top line
PRINT AT 1 , 0 , "Chr= " , Dec VAR1," "
DELAYMS 100
NEXT
STOP
Notes
The graphic LCDs that are compatible with PROTON+ are the Samsung KS0108, and the Toshiba T6963. The Samsung display has a pixel resolution of 64 x 128. The 64 being the Y axis, made up of 8 lines each having 8-bits. The 128 being the X axis, made up of 128 positions. The Toshiba LCDs are available with differing resolutions.