A first port of the excellent Adafruit ST7735 library

Dependents:   mbed-pong

Files at this revision

API Documentation at this revision

Comitter:
SomeRandomBloke
Date:
Mon Mar 03 22:13:53 2014 +0000
Parent:
1:226fd3534967
Child:
3:5cd5edbf5b72
Commit message:
reduced SPI speed to 4MHz

Changed in this revision

Adafruit_ST7735.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Adafruit_ST7735.cpp	Thu Aug 15 13:27:10 2013 +0000
+++ b/Adafruit_ST7735.cpp	Mon Mar 03 22:13:53 2014 +0000
@@ -226,7 +226,7 @@
 
     // use default SPI format
     lcdPort.format(8,0);
-    lcdPort.frequency(30000000);     // Lets try 30MHz
+    lcdPort.frequency(4000000);     // Lets try 4MHz
 
     // toggle RST low to reset; CS low so it'll listen to us
     _cs = 0;