ThingPulse / esp8266-oled-ssd1306

Driver for the SSD1306 and SH1106 based 128x64, 128x32, 64x48 pixel OLED display running on ESP8266/ESP32
https://thingpulse.com
Other
2.02k stars 640 forks source link

Dual displays #99

Closed chenset closed 7 years ago

chenset commented 7 years ago

Hi: Similar to this issue : #81 issue

undefined reference to `vtable for OLEDDisplay'

#include "SH1106Brzo.h"
#include "SH1106Wire.h"
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>

// WEB Server
// WiFiServer DHTServer(88);   // when uncomment it will break the code. 

// UDP
// WiFiUDP Udp;   // when uncomment it will break the code. 

SH1106Brzo display2(0x3c, D3, D5);
SH1106Wire display(0x3c, D1, D2);

void setup() {}
void loop() {}

When you uncomment WiFiServer DHTServer(88); it will break the code. Or When you uncomment WiFiUDP Udp; it will break the code.

FWeinb commented 7 years ago

The fix was never released will be in 3.2.4