LCD TFT for ssd0139 driver 8 bit mode
Dependents: receiver TFT_CJS_ssd0139 poster8x8_ranger
Fork of LCDTFT by
Revision 5:d910bf3b7bb0, committed 2015-06-09
- Comitter:
- cstevens
- Date:
- Tue Jun 09 10:29:06 2015 +0000
- Parent:
- 4:2feb189748f7
- Commit message:
- Updated so example code now has correct definition fo the port; uses a single 8 bit busout command.; May need slight change if one wants to speed things up and use the portout version....
Changed in this revision
LCDTFT.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 2feb189748f7 -r d910bf3b7bb0 LCDTFT.h --- a/LCDTFT.h Tue Jun 09 09:15:28 2015 +0000 +++ b/LCDTFT.h Tue Jun 09 10:29:06 2015 +0000 @@ -20,15 +20,19 @@ //// //// /////////////////////////////////////////////////////////////////////////// -/** Libreria para LCD TFT chip Himax HX8347-A +/** Libreria para LCD TFT chip Himax HX8347-A + * Library for 320x240 tft lcd * * * @code * #include "mbed.h" * #include "LCDTFT.h" * - *BusOut MyBus(p13,p14,p15,p16,p17,p18,p19,p20,p30,p29,p28,p27,p26,p25,p24,p23); - *LCDTFT MyLCD(p5,p6,p7,p22,p21,&MyBus); + * + * // pins for TFT - now using 8 bit mode + * BusOut MyBus(PTA13,PTD5,PTD4,PTA12,PTA4,PTA5,PTC8,PTC9); // 8 bit bus on these dvices + * LCDTFT MyLCD(PTB0,PTB1,PTB2,PTB3,PTC2,&MyBus);//LCDTFT(PinName PIN_RD,PinName PIN_WR,PinName PIN_RS,PinName PIN_CS,PinName PIN_RESET, BusOut *BUSLCD); + * * *int main(){ * MyLCD.vLCDTFTInit();