Chinese module HY-1.8 SPI TFT lcd Display library.

Dependencies:   BurstSPI

Dependents:   KL25Z_DCF77_HY-1_8LCD

Fork of HY-1_8TFT_ST7735 by Paul Staron

Revision:
1:ef70eaf15b18
Parent:
0:35a1964228b4
Child:
2:26149011665e
--- a/ST7735_TFT.cpp	Mon Mar 25 22:46:23 2013 +0000
+++ b/ST7735_TFT.cpp	Fri Apr 19 20:46:47 2013 +0000
@@ -131,11 +131,11 @@
     _spi.frequency(16000000);         // 16Mhz SPI clock ... 15Mhz is maximum for display, but it seems to work
     _cs = 0;
     _reset = 1;                       // reset
-    wait_ms(500);
+    wait_ms(10);
     _reset = 0;                       // reset
-    wait_ms(500);
+    wait_ms(10);
     _reset = 1;                       // reset
-    wait_ms(500);
+    wait_ms(10);
     
     /* Start Initial Sequence ----------------------------------------------------*/
     wr_cmd(ST7735_SWRESET);                         /* SW Reset                       */
@@ -292,10 +292,6 @@
     window (0, 0, width(),  height());
 }
 
-//void ST7735_TFT::cls (void) {
-    //fillrect(-2,-2,128,160,(_background)); // This clears the complete screen to background colour
-    
-
 void ST7735_TFT::cls (void) {
     unsigned int i;
     WindowMax();