oled code

Files at this revision

API Documentation at this revision

Comitter:
jonaangelica
Date:
Thu Feb 13 14:52:59 2020 +0000
Parent:
19:e16d3a603d50
Commit message:
initialCommit;

Changed in this revision

Adafruit_GFX_Config.h Show annotated file Show diff for this revision Revisions of this file
Adafruit_SSD1306.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Adafruit_GFX_Config.h	Thu Feb 06 13:20:35 2020 +0000
+++ b/Adafruit_GFX_Config.h	Thu Feb 13 14:52:59 2020 +0000
@@ -8,7 +8,7 @@
 #define GFX_WANT_ABSTRACTS
 
 // Uncomment this to enable only runtime font scaling, without all the rest of the Abstracts
-//#define GFX_SIZEABLE_TEXT
+#define GFX_SIZEABLE_TEXT
 
 
 #endif
\ No newline at end of file
--- 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