oled code
Revision 20:4f1803f9d4e7, committed 2020-02-13
- 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 |
diff -r e16d3a603d50 -r 4f1803f9d4e7 Adafruit_GFX_Config.h --- 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
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