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.h
- Revision:
- 3:969ca9fe5e2b
- Parent:
- 0:c3dcd4c4983a
- Child:
- 6:1be3e3b46eb7
--- 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(); };
