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 Neal Horman

Files at this revision

API Documentation at this revision

Comitter:
nkhorman
Date:
Wed Jan 23 02:43:38 2013 +0000
Parent:
2:7bcea45e60d8
Child:
4:853097cfa773
Commit message:
line endings ?

Changed in this revision

Adafruit_SSD1306.h Show annotated file Show diff for this revision Revisions of this file
--- a/Adafruit_SSD1306.h	Sun Aug 19 23:03:40 2012 +0000
+++ b/Adafruit_SSD1306.h	Wed Jan 23 02:43:38 2013 +0000
@@ -89,7 +89,7 @@
 class DigitalOut2 : public DigitalOut
 {
 public:
-    DigitalOut2(PinName pin, bool active = false, const char *name = NULL) : DigitalOut(pin,name) { write(active); };
+    DigitalOut2(PinName pin, bool active = false) : DigitalOut(pin) { write(active); };
     DigitalOut2& operator= (int value) { write(value); return *this; };
     DigitalOut2& operator= (DigitalOut2& rhs) { write(rhs.read()); return *this; };
     operator int() { return read(); };