Modified library to add delay after releasing reset. This is needed because the reset signal is enabling an LDO to provide power to the display and it needs time to turn on.
Fork of Adafruit_GFX by
Diff: Adafruit_SSD1306.cpp
- Revision:
- 11:86909e6db3c8
- Parent:
- 9:ddb97c9850a2
- Child:
- 13:8f03f908f22a
diff -r ddb97c9850a2 -r 86909e6db3c8 Adafruit_SSD1306.cpp --- a/Adafruit_SSD1306.cpp Sun Oct 19 20:55:27 2014 +0000 +++ b/Adafruit_SSD1306.cpp Tue Oct 21 02:04:08 2014 +0000 @@ -23,6 +23,9 @@ #include "mbed.h" #include "Adafruit_SSD1306.h" +/// Uncomment this define in __FILE to disable the AdaFruit splash image +//#define NO_SPLASH_ADAFRUIT + #define SSD1306_SETCONTRAST 0x81 #define SSD1306_DISPLAYALLON_RESUME 0xA4 #define SSD1306_DISPLAYALLON 0xA5