Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Adafruit_SSD1306.cpp
- Revision:
- 18:a267f00528be
- Parent:
- 17:d32bc620f2b2
- Child:
- 19:e16d3a603d50
diff -r d32bc620f2b2 -r a267f00528be Adafruit_SSD1306.cpp
--- a/Adafruit_SSD1306.cpp Tue Oct 20 00:22:57 2015 +0000
+++ b/Adafruit_SSD1306.cpp Tue Feb 07 23:52:12 2017 +0000
@@ -47,18 +47,6 @@
void Adafruit_SSD1306::begin(uint8_t vccstate)
{
- rst = 1;
- // VDD (3.3V) goes high at start, lets just chill for a ms
- wait_ms(1);
- // bring reset low
- rst = 0;
- // wait 10ms
- wait_ms(10);
- // 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);
command(SSD1306_SETDISPLAYCLOCKDIV);