1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| #include "Wire.h" #include "SSD1306.h" #define SDA 22 #define SCL 23 SSD1306 display(0x3c, SDA, SCL); void setup() { display.init(); display.drawString(0, 0, "Hello World from ESP32/ESP8266!"); display.display(); } void loop() {}
|