Menu

User Interface

Majenko Technologies

A single GLCD object is provided to control one GLCD module. It is possible to use multiple GLCDs by creating more objects.

The core object class is _GLCD, and a default object of GLCD is provided.

Setting up the GLCD requires first telling the object which pins are connected to which IO ports. At the moment all pins (including reset) need to be connected.

GLCD.begin(DI,RW,E,D0,D1,D2,D3,D4,D5,D6,D7,CS1,CS2,RES);

This will initialise the GLCD and get it ready for operation.

After any drawing operations have been performed it is necessary to do an "update" of the screen:

GLCD.update();

This will push the new frame to the display so you can see your changes.

There are three basic class of methods in the GLCD object:


Related

Wiki: Home
Wiki: begin
Wiki: clearPixel
Wiki: cls
Wiki: draw
Wiki: gText
Wiki: print
Wiki: scrollUp
Wiki: setCursor
Wiki: setGCursor
Wiki: setPixel
Wiki: update

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.