9 years, 1 month ago.

Landtiger LPC1768 TFTLCD library

I'm tyring to use the TFTLCD library for my board but I don't know which Pin I have to set for the Resetline. Is there any other library I can use for the Landtiger or I have to change the code for the board?

#include "mbed.h"
#include "ssd1289.h"
   
  // prepare the data bus for writing commands and pixel data
  BusOut dataBus( P2_0, P2_1, P2_2, P2_3, P2_4, P2_5, P2_6, P2_7 ); // 16 pins
  // create the lcd instance
  SSD1289_LCD lcd( P0_22,  , P0_23, P0_24, &dataBus ); // control pins and data bus
 
  int main()
  {
      // initialize display - place it in standard portrait mode and set background to black and
      //                      foreground to white color.
      lcd.Initialize();
     // set current font to the smallest 8x12 pixels font.
     lcd.SetFont( &TerminusFont  );
     // print something on the screen
     lcd.Print( "Hello, World!", CENTER, 25 ); // align text to center horizontally and use starndard colors
 
    while ( 1 ) { }
  }

1 Answer

8 years, 11 months ago.

gregor.. have u had succes with the tft lcd on the landtiger yet?

Sorry for my late answer. I used a changed TFTLCD libary but can't find it anymore. If you want it I have published it now.https://developer.mbed.org/users/casval/code/TFTLCD_Landtiger/

posted by Gregor Mraczny 12 May 2015