LCD TFT for ssd0139 driver 8 bit mode - using portout for max speed
Dependents: TFT_CJS_ssd01399_portver_prettyfont TFT_CJS_ssd01399_portver_prettyfont snake_main_game ServerLatest
Fork of LCDTFT_ssd01399 by
Diff: LCDTFT.cpp
- Revision:
- 4:1c2f9e3b9b12
- Parent:
- 3:f999653c1069
- Child:
- 5:290d9f5dd5e8
--- a/LCDTFT.cpp Tue Sep 02 14:13:31 2014 +0000 +++ b/LCDTFT.cpp Wed Jun 10 15:47:22 2015 +0000 @@ -21,9 +21,9 @@ /////////////////////////////////////////////////////////////////////////// #include "LCDTFT.h" -LCDTFT::LCDTFT(PinName PIN_RD,PinName PIN_WR,PinName PIN_RS,PinName PIN_CS,PinName PIN_RESET, BusOut *BUSLCD) +LCDTFT::LCDTFT(PinName PIN_RD,PinName PIN_WR,PinName PIN_RS,PinName PIN_CS,PinName PIN_RESET, PortOut *PORTLCD) : LCD_PIN_RD(PIN_RD),LCD_PIN_WR(PIN_WR),LCD_PIN_RS(PIN_RS),LCD_PIN_CS(PIN_CS),LCD_PIN_RESET(PIN_RESET){ - LCD_PORT=BUSLCD; + LCD_PORT=PORTLCD; X=0; Y=0; X_min=0; @@ -211,7 +211,7 @@ vLCDTFTWriteCommandData(address,data); } } - wait_ms(1); + wait_ms(3); // changed from 1 /*