mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-17 01:51:37 +02:00
can use OLED (ssd1306) display with esp32 too
This commit is contained in:
parent
ac5e5f9277
commit
0b32cab7a4
2 changed files with 21 additions and 1 deletions
|
@ -36,7 +36,9 @@ app::app() {
|
|||
}
|
||||
|
||||
#ifdef ENA_SSD1306
|
||||
SSD1306Wire display(0x3c, 4, 5);
|
||||
/* esp8266 : SCL = 5, SDA = 4 */
|
||||
/* ewsp32 : SCL = 22, SDA = 21 */
|
||||
SSD1306Wire display(0x3c, SDA, SCL);
|
||||
|
||||
static unsigned char bmp_arrow[] PROGMEM = {
|
||||
B00000000, B00011100, B00011100, B00001110, B00001110, B11111110, B01111111,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue