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
Revision 8:416b8fe451b3, committed 2014-10-19
- Comitter:
- nkhorman
- Date:
- Sun Oct 19 04:45:11 2014 +0000
- Parent:
- 7:779204e24db4
- Child:
- 9:ddb97c9850a2
- Commit message:
- fix compile warning and error
Changed in this revision
| Adafruit_SSD1306.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Adafruit_SSD1306.h Sat Oct 18 12:05:58 2014 -0500
+++ b/Adafruit_SSD1306.h Sun Oct 19 04:45:11 2014 +0000
@@ -131,11 +131,10 @@
private:
- Serial pc;
DigitalOut2 rst;
#ifdef SSD_USES_SPI
+ DigitalOut2 cs,dc;
SPI &mspi;
- DigitalOut2 cs,dc;
#elif defined SSD_USES_I2C
I2C &mi2c;
#endif
