2.8" TFT LCD Module (LGDP4531) with T/P , SPI Access, support LCD Only driver(Alpha) and *UNSTABLE* (wrong initialize?) .

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 //
00002 // Sample of spilcd_qvga class
00003 //
00004 #include "mbed.h"
00005 #include "spilcd_qvga.h"
00006 #include <stdlib.h>
00007 
00008 //
00009 // SPILCD LG 
00010 //
00011 SPILCD_QVGA lcdq(p21, p22, p5, p6, p7,USBTX,USBRX) ;
00012 
00013 int main() {
00014     while(1){
00015         u16 i ;
00016         lcdq.filltest(i++);
00017     }
00018 }