8 years, 8 months ago.

Landtiger LPC1768 and LCD problem

Hello passed 2 weeks since i have my Landtiger LPC1768.

i am using mbed software and code and all fine. The only i cant use its the LCD , i am trying to display some simply words and data and i cant find an workable library for mbed.

Can someone help ?

2 Answers

8 years, 5 months ago.

Agreed... anyone? I too do not know how to start with using MBED to run the landtiger LCD... anyone? If not... tsk tsk.. I wasted... anyone with a hello world with this 8-16 lcd latch... huhuhu

8 years, 5 months ago.

Here is some code to test the LCD with a Mandelbrot demo. This code is for an LCD with the SSD1289 controller, be aware that there also seem to be Landtiger LCDs boards around with different controllers.

The SSD1289 lib is a fork of the code by Todor Todorov, which in turn is a fork of code by Henning Karlsen. This code is not very optimised although it sometimes bypasses the mbed API.

Its been a pretty long time since I last tried the Landtiger board so use at own risk!

Thank you Wim.. I downloaded the program and tested it. Thankfully i see some action on the lcd, except that mandlebrot does not seem to work, the loop only displays unaligned colorful boxes. Hence, I chucked away some of the codes and left it to heartebeat,myGLCD.init() and myGLCD.clearScreen(*color*). And that is that.. I am no coder btw... I learnt from a lot of trial and error and by looking at its pattern.

putting the myGLCD.setColor(Red);myGLCD.drawLine(0,0,150,150); only draws a horizontal red line at the top of the screen. I assume i initialize ithe screen wrong?

I was trying to write a hello world text on the lcd by the way then maybe show some images. Thank you for showing me the light Mr Wim Huiskamp.By the way.. what are the coding steps to correctly use this lcd?

posted by dosh dance 02 Nov 2015

Have tried the updated LCD example that I posted some time ago. Check my Landtiger notebook page for the link and some pictures.

posted by Wim Huiskamp 13 Dec 2015