Change the world

Control Software

Download: Examples - TG12864H3 LCD

The following example programs are available to demonstrate the basic principles of how to use a TG12864H3 LCD:

 


ex1_TG12864H3_HelloWorld.c

Example program that writes "Hello World!" in normal mode and then inverted to a TG12864H3 graphics LCD.

ex2_TG12864H3_char_functions.c

Example program that demonstrates the use ofthe character functions in the TG12864H3_F4.c library (TG12864H3_ClrScr(), TG12864H3_GotoXY(), TG12864H3_PutChar(), TG12864H3_PutStr()) and the use of string function sprintf(). 

ex3_TG12864H3_graphics_functions.c

Example program that demonstrates the use of the graphics functions in the TG12864H3_F4.c library (TG12864H3_DrawPixel(), 
TG12864H3_DrawLine(), TG12864H3_DrawCircle())

ex4_TG12864H3_char_graphics.c

Example program that demonstrates the use of the graphics functions combined with the character functions.

ex5_TG12864H3_bounce.c

Example program that demonstrates a bouncing ball on a graphics LCD.