oled code
Diff: Adafruit_SSD1306.cpp
- Revision:
- 20:4f1803f9d4e7
- Parent:
- 19:e16d3a603d50
diff -r e16d3a603d50 -r 4f1803f9d4e7 Adafruit_SSD1306.cpp --- a/Adafruit_SSD1306.cpp Thu Feb 06 13:20:35 2020 +0000 +++ b/Adafruit_SSD1306.cpp Thu Feb 13 14:52:59 2020 +0000 @@ -61,7 +61,7 @@ command(SSD1306_SETSTARTLINE | 0x0); // line #0 command(SSD1306_CHARGEPUMP); - command(0x14);//command((vccstate == SSD1306_EXTERNALVCC) ? 0x10 : 0x14); + command((vccstate == SSD1306_EXTERNALVCC) ? 0x10 : 0x14); // command(SSD1306_MEMORYMODE); command(0x00); // 0x0 act like ks0108