Generic SSD1306 display support for ESP32 added (#1847)
* add oled support for esp32_rtl433 * add generic ssd1306 usage into documentation * remove additiona environment with the oled --------- Co-authored-by: Jouni Paulus <paulus@nuppu.eternal>
This commit is contained in:
1 parent
36659309b1
commit
d58e3f469d
2 files changed
+43
-5
No files matched your search
@@ -302,6 +302,8 @@ OledSerial::OledSerial(int x) {
|
||||
// delay(50);
|
||||
// digitalWrite(OLED_RST, HIGH);
|
||||
display = new SSD1306Wire(0x3c, OLED_SDA, OLED_SCL, GEOMETRY_128_64);
|
||||
# elif defined(GenericSSD1306) // a generic ssd1306 oled with of size 128*64
|
||||
display = new SSD1306Wire(0x3c, OLED_SDA, OLED_SCL, GEOMETRY_128_64);
|
||||
# endif
|
||||
}
|
||||
|
||||
@@ -357,7 +359,7 @@ void OledSerial::flush(void) {
|
||||
}
|
||||
|
||||
/*
|
||||
Erase display and paint it with the color. Used to
|
||||
Erase display and paint it with the color. Used to
|
||||
*/
|
||||
void OledSerial::fillScreen(OLEDDISPLAY_COLOR color) {
|
||||
if (xSemaphoreTake(semaphoreOLEDOperation, pdMS_TO_TICKS(30000)) == pdTRUE) {
|
||||
|
||||
Reference in new issue
Block a user