Syntax:
ST7920WriteData ( byte_variable)
Explanation:
This command writes data to the controller.
See the data sheet for more information.
Example usage:
...
for yy = 0 to ( GLCD_HEIGHT - 1 )
ST7920gLocate(0, yy)
for xx = 0 to ( GLCD_COLS -1 )
ST7920WriteData( 0x55 ) ' <<< the ST7920WriteData instruction
ST7920WriteData( 0x55 )
next
next
...Key line: ST7920WriteData( 0x55 ) — writes the raw byte 0x55 to the display’s DDRAM at the position set by ST7920gLocate; called twice per column here to fill both bytes needed at that pixel location.
See Also:
- GLCD Overview — category overview
- ST7920WriteCommand — sending a controller command instead of display data
- ST7920gLocate — positioning the write address before writing, as used above

