older Version without DMA

Fork of SPI_TFT by Peter Drescher

Files at this revision

API Documentation at this revision

Comitter:
dreschpe
Date:
Fri Dec 30 11:48:57 2011 +0000
Parent:
9:9dc5dfdda734
Child:
11:3cfa9bb9b070
Commit message:
fix cls bug

Changed in this revision

SPI_TFT.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SPI_TFT.cpp	Wed Dec 21 22:38:25 2011 +0000
+++ b/SPI_TFT.cpp	Fri Dec 30 11:48:57 2011 +0000
@@ -12,6 +12,8 @@
  
  
 // fix bmp padding for Bitmap function 
+// speed up pixel 
+// 30.12.11 fix cls
 
 
 #include "SPI_TFT.h"
@@ -271,7 +273,7 @@
 
 void SPI_TFT::cls (void) {
     unsigned int i;
-    //WindowMax();
+    WindowMax();
     wr_cmd(0x22);
     wr_dat_start();
     _spi.format(16,3);         // 16 bit Mode 3