The GLCD capability supports over 40 GLCDs. GCBASIC loads automatically the specific library required. The loading of the specific library(ies) by the compiler improves performance and significantly reduces the compilation time.
The GLCD libraries, that are automatically loaded, are controlled by the use of an incude statement in the use program #include <glcd.h>
with a constant to define the specific GLCD driver to be loaded #define GLCD_TYPE GLCD_TYPE_SSD1289
.
The process the compiler uses the file include\glcd.dat
. The glcd.dat
has a strict format where the row index has parameters as shown below.
Format. This is strict. Usea comma delimiter; single quote to a comment line; amperand to group libraries. No other format controls permitted. For each row. Index, glcd type, library[[&library]&library] Index = the reference number from GLCD.H. There is a unique reference number per type of glcd. Type = the type. per type of glcd. must match those definition in GLCD.H this is use as the search/match in the constant `GLCD_TYPE` in user source program this is not case sensitive Library = library to be loaded, or, group of dependent libraries delimiter must be '&'