Fork of Adafruit OLED driver to debug integration with RedBear Nano SPI driver

Dependents:   SPI_GFX_nano

Fork of Adafruit_GFX by Neal Horman

Revision:
21:c7e6b6d6e296
Parent:
16:7fb1d4d3525d
Child:
22:6fc21acc8311
--- a/Adafruit_SSD1306.cpp	Wed Feb 25 23:43:36 2015 +0000
+++ b/Adafruit_SSD1306.cpp	Thu Feb 26 00:05:12 2015 +0000
@@ -57,7 +57,7 @@
     // bring out of reset
     rst = 1;
     // turn on VCC (9V?)
-
+#ifdef NEVER
     command(SSD1306_DISPLAYOFF);
     command(SSD1306_SETDISPLAYCLOCKDIV);
     command(0x80);                                  // the suggested ratio 0x80
@@ -97,6 +97,7 @@
     command(SSD1306_NORMALDISPLAY);
     
     command(SSD1306_DISPLAYON);
+    #endif
 }
 
 // Set a single pixel