Like most LCD Displays the Controller does not know what this display area is so the Control registers must be set up for the display to work properly. The datasheet goes over the General setup for the controller, some of the control data can be a bit confusing to figure out. So what I have here in the initialization for the Hyundai display, which creates a text screen and graphics overlay screen in the display's RAM space. This way if you want text only just write only to the text area, if you want graphics only write only to that area. Later on will work out using other display configurations and features.
sample C code:
This code sets up a text mode and a graphics overlay, see write routines for memory locations for start of text and start of graphics memory. All can be user defined.
Simple library routines:
/* Hyundai_256x128.h 256 X 128 LCD Grapics display Hyundai #HG25504 sold by All Electronics. By Eric Stringer 2017*/******************************************************
/* Hyundai_256x128.c 256 X 128 LCD Grapics display Hyundai #HG25504 sold by All Electronics. By Eric Stringer 2017*/Sample Program