Skip to content

Commit

Permalink
Update OLED display driver to go back to SH1106_128X64 default display
Browse files Browse the repository at this point in the history
  • Loading branch information
melkati committed Feb 29, 2024
1 parent 5affbd4 commit 2507f91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CO2_Gadget_OLED.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#include <U8g2lib.h>
#include "bootlogo.h"
#include "icons.h"
// U8G2_SH1106_128X64_NONAME_1_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE); // Frame Buffer: clearBuffer/sendBuffer. More RAM usage, Faster
U8G2_SSD1306_128X64_NONAME_1_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE); // Frame Buffer: u8g2.clearBuffer, u8g2.sendBuffer. Less RAM usage, Slower
U8G2_SH1106_128X64_NONAME_1_HW_I2C u8g2(U8G2_R0, /* reset=*/U8X8_PIN_NONE); // Frame Buffer: clearBuffer/sendBuffer. More RAM usage, Faster
// U8G2_SSD1306_128X64_NONAME_1_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE); // Frame Buffer: u8g2.clearBuffer, u8g2.sendBuffer. Less RAM usage, Slower

char oled_msg[20];
int displayWidth = 128;
Expand Down

0 comments on commit 2507f91

Please sign in to comment.