ThingPulse OLED SSD1306
Dependents: Turtle_RadioShuttle mbed-os5-F303-18650-Manager-tp4056 Kretanje_kroz_izbornike_OLED128x64_4tipke
Revision 1:9270c15c6aea, committed 2019-04-14
- Comitter:
- Helmut Tschemernjak
- Date:
- Sun Apr 14 18:00:54 2019 +0200
- Parent:
- 0:56dd5df33ab4
- Child:
- 2:4ed55dfe5be7
- Commit message:
- Updated updated problem for single buffer operation
Changed in this revision
--- a/OLEDDisplay.cpp Wed Apr 10 14:15:31 2019 +0000
+++ b/OLEDDisplay.cpp Sun Apr 14 18:00:54 2019 +0200
@@ -49,7 +49,9 @@
fontData = ArialMT_Plain_10;
fontTableLookupFunction = DefaultFontTableLookup;
buffer = NULL;
+#ifdef OLEDDISPLAY_DOUBLE_BUFFER
buffer_back = NULL;
+#endif
}
OLEDDisplay::~OLEDDisplay() {
@@ -964,4 +966,3 @@
return (uint8_t) 0; // otherwise: return zero, if character has to be ignored
}
-
--- a/OLEDDisplay.h Wed Apr 10 14:15:31 2019 +0000 +++ b/OLEDDisplay.h Sun Apr 14 18:00:54 2019 +0200 @@ -356,4 +356,3 @@ }; #endif -
--- a/OLEDDisplayFonts.h Wed Apr 10 14:15:31 2019 +0000 +++ b/OLEDDisplayFonts.h Sun Apr 14 18:00:54 2019 +0200 @@ -1276,4 +1276,3 @@ 0x00,0x00,0x00,0x00,0x00,0x0E,0x00,0x00,0x00,0x7E,0x00,0x06,0xC0,0xF0,0x01,0x06,0xC0,0x80,0x0F,0x07,0x00,0x00,0xFE,0x03,0x00,0x00,0xFC,0x00,0xC0,0xC0,0x1F,0x00,0xC0,0xF8,0x03,0x00,0x00,0x3E,0x00,0x00,0x00,0x06 // 255 }; #endif -
--- a/OLEDDisplayUi.cpp Wed Apr 10 14:15:31 2019 +0000 +++ b/OLEDDisplayUi.cpp Sun Apr 14 18:00:54 2019 +0200 @@ -468,4 +468,3 @@ if (this->nextFrameNumber != -1) return this->nextFrameNumber; return (this->state.currentFrame + this->frameCount + this->state.frameTransitionDirection) % this->frameCount; } -
--- a/OLEDDisplayUi.h Wed Apr 10 14:15:31 2019 +0000
+++ b/OLEDDisplayUi.h Sun Apr 14 18:00:54 2019 +0200
@@ -310,4 +310,3 @@
int8_t update();
};
#endif
-
--- a/SSD1306I2C.h Wed Apr 10 14:15:31 2019 +0000
+++ b/SSD1306I2C.h Sun Apr 14 18:00:54 2019 +0200
@@ -117,7 +117,6 @@
sendCommand(PAGEADDR);
sendCommand(0x0); // page start address (0 = reset)
- sendCommand((this->height() / 8) - 1); // page end address 7
if (geometry == GEOMETRY_128_64) {
sendCommand(0x7);
@@ -151,4 +150,3 @@
#endif
#endif
-
Helmut Tschemernjak