mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-06 09:58:23 +02:00
Merge branch 'development03' of https://github.com/dAjaY85/ahoy into development03
This commit is contained in:
commit
8fdfca6487
3 changed files with 5 additions and 3 deletions
|
@ -35,7 +35,7 @@ class Display {
|
|||
case 3: mMono = new DisplayMono84X48(); break;
|
||||
case 4: mMono = new DisplayMono128X32(); break;
|
||||
case 5: mMono = new DisplayMono64X48(); break;
|
||||
|
||||
case 6: mMono = new DisplayMono128X64(); break;
|
||||
#if defined(ESP32)
|
||||
case 10:
|
||||
mMono = NULL; // ePaper does not use this
|
||||
|
|
|
@ -27,10 +27,12 @@ class DisplayMono128X64 : public DisplayMono {
|
|||
case 1:
|
||||
mDisplay = new U8G2_SSD1306_128X64_NONAME_F_HW_I2C(rot, reset, clock, data);
|
||||
break;
|
||||
default:
|
||||
case 2:
|
||||
mDisplay = new U8G2_SH1106_128X64_NONAME_F_HW_I2C(rot, reset, clock, data);
|
||||
break;
|
||||
case 6:
|
||||
mDisplay = new U8G2_SSD1309_128X64_NONAME0_F_HW_I2C(rot, reset, clock, data);
|
||||
break;
|
||||
}
|
||||
|
||||
mUtcTs = utcTs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue