Change the world

Control Software

Download: Examples - LM6029ACW.zip

The following example programs are available to demonstrate the basic principles of how to use the LM6029ACW graphics lcd:

ex1_LM6029ACW_HelloWorld.c

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

* The LM6029ACW is connected as follows:
  (see the LM6029ACW datasheet for a complete description of each pin).
Vss (LM6029ACW pin 1)    -    GND
Vdd (LM6029ACW pin 2)    -    3.3V
DB7 (pin3)               -    PC7
DB6 (pin4)               -    PC6
DB5 (pin5)               -    PC5
DB4 (pin6)               -    PC4
DB3 (pin7)               -    PC3
DB2 (pin8)               -    PC2
DB1 (pin9)               -    PC1
DB0 (pin10)              -    PC0
/RD (pin11)              -    PF4
/WR (pin12)              -    PF5
RS (pin13)               -    PF6
/RES (pin14)             -    PF7
/CS (pin15)              -    PB2
BLA (pin16)              -    3.3V


ex2_LM6029ACW_char_functions.c

Example program that demonstrates the use of the character functions in the LM6029ACW_F0.c library (LM6029ACW_ClrScr(), LM6029ACW_GotoXY(), LM6029ACW_PutChar(), LM6029ACW_PutStr()) and the use of string function sprintf().

* The LM6029ACW is connected as described in ex1_LM6029ACW_HelloWorld.c

 

ex3_LM6029ACW_graphics_functions.c

Example program that demonstrates the use of the graphics functions in the LM6029ACW_F0.c library (LM6029ACW_DrawPixel(), LM6029ACW_DrawLine(), LM6029ACW_DrawCircle())

* The LM6029ACW is connected as described in ex1_LM6029ACW_HelloWorld.c

 

ex4_LM6029ACW_char_graphics.c

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

* The LM6029ACW is connected as described in ex1_LM6029ACW_HelloWorld.c