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 17:d32bc620f2b2, committed 2015-10-20
- Comitter:
- switches
- Date:
- Tue Oct 20 00:22:57 2015 +0000
- Parent:
- 16:7fb1d4d3525d
- Commit message:
- Added delay after releasing reset
Changed in this revision
Adafruit_SSD1306.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7fb1d4d3525d -r d32bc620f2b2 Adafruit_SSD1306.cpp --- a/Adafruit_SSD1306.cpp Tue Nov 11 22:08:20 2014 +0000 +++ b/Adafruit_SSD1306.cpp Tue Oct 20 00:22:57 2015 +0000 @@ -54,8 +54,10 @@ rst = 0; // wait 10ms wait_ms(10); - // bring out of reset + // bring out of reset (enable power) rst = 1; + // wait 10ms (wait for power to settle) + wait_ms(10); // turn on VCC (9V?) command(SSD1306_DISPLAYOFF);