A first port of the excellent Adafruit ST7735 library

Dependents:   mbed-pong

Files at this revision

API Documentation at this revision

Comitter:
SomeRandomBloke
Date:
Sun Nov 22 13:15:07 2015 +0000
Parent:
4:2123ea52a4d9
Child:
6:c964b41674fc
Commit message:
push

Changed in this revision

Adafruit_ST7735.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Adafruit_ST7735.cpp	Sun Nov 22 12:39:52 2015 +0000
+++ b/Adafruit_ST7735.cpp	Sun Nov 22 13:15:07 2015 +0000
@@ -374,23 +374,6 @@
 void Adafruit_ST7735::fillScreen(uint16_t color)
 {
     fillRect(0, 0,  _width, _height, color);
-/*
-    uint8_t x, y, hi = color >> 8, lo = color;
-
-    setAddrWindow(0, 0, _width-1, _height-1);
-
-    _rs = 1;
-    _cs = 0;
-
-    for(y=_height; y>0; y--) {
-        for(x=_width; x>0; x--) {
-            lcdPort.write( hi );
-            lcdPort.write( lo );
-        }
-    }
-
-    _cs = 1;
-*/
 }