ST7920gReaddata

Syntax:

    word_variable = ST7920gReaddata

Explanation:

This function returns the word value (16 bits) of the GLCD display for the current XY position.

See the data sheet for more information.

Example usage:

    ...
    ' Read a word from the display device.
    word_variable = ST7920gReaddata          ' <<< the ST7920gReaddata instruction

Key line: word_variable = ST7920gReaddata — reads a full 16-bit word from the display’s DDRAM at the current XY position in a single call, rather than the two separate byte reads and manual combination that ST7920GLCDReadByte requires.

See Also: