Library for Adafruit ST7735

Fork of Adafruit_ST7735 by justin kim

Files at this revision

API Documentation at this revision

Comitter:
jacobjohnson
Date:
Tue Jan 31 17:14:49 2017 +0000
Parent:
6:7d45da201480
Commit message:
ST7735 mbed library;

Changed in this revision

Adafruit_ST7735.cpp Show annotated file Show diff for this revision Revisions of this file
Adafruit_ST7735.h Show annotated file Show diff for this revision Revisions of this file
diff -r 7d45da201480 -r 5842518d1feb Adafruit_ST7735.cpp
--- a/Adafruit_ST7735.cpp	Thu Jul 30 22:55:47 2015 +0000
+++ b/Adafruit_ST7735.cpp	Tue Jan 31 17:14:49 2017 +0000
@@ -18,7 +18,10 @@
 
 #include "mbed.h"
 #include "Adafruit_ST7735.h"
-#include <stdio.h>
+
+//#include <string>
+
+
 
 // Constructor 
 Adafruit_ST7735::Adafruit_ST7735(PinName mosi, PinName miso, PinName sck, PinName cs, PinName rs, PinName rst) 
@@ -576,8 +579,8 @@
     
     pc.printf("TEST START3\r\n");
     FILE *Image = fopen((const char *)&filename[0], "rb");  // open the bmp file
-    pc.printf("TEST FILEOPEN\r\n");
-
+    
+    
     if(Image == NULL) return -1;
     if(fgetc(Image) != 0x42) return -2;
     if(fgetc(Image) != 0x4D) return -2;
diff -r 7d45da201480 -r 5842518d1feb Adafruit_ST7735.h
--- a/Adafruit_ST7735.h	Thu Jul 30 22:55:47 2015 +0000
+++ b/Adafruit_ST7735.h	Tue Jan 31 17:14:49 2017 +0000
@@ -22,6 +22,7 @@
 #include "mbed.h"
 #include "Adafruit_GFX.h"
 
+
 #define boolean bool
 
 // some flags for initR() :(