Skip to content

Commit 946f351

Browse files
authored
Small fixes to some examples (#340)
Fixes #338
1 parent 259a899 commit 946f351

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/SSD1306ClockDemo/SSD1306ClockDemo.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
// Initialize the OLED display using Wire library
7272
SSD1306Wire display(0x3c, D3, D5);
73-
// SH1106 display(0x3c, D3, D5);
73+
// SH1106Wire display(0x3c, D3, D5);
7474

7575
OLEDDisplayUi ui ( &display );
7676

examples/SSD1306DrawingDemo/SSD1306DrawingDemo.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
// Initialize the OLED display using Wire library
6565
SSD1306Wire display(0x3c, D3, D5);
66-
// SH1106 display(0x3c, D3, D5);
66+
// SH1106Wire display(0x3c, D3, D5);
6767

6868
// Adapted from Adafruit_SSD1306
6969
void drawLines() {

examples/SSD1306OTADemo/SSD1306OTADemo.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474

7575
// Initialize the OLED display using Wire library
7676
SSD1306Wire display(0x3c, D3, D5);
77-
// SH1106 display(0x3c, D3, D5);
77+
// SH1106Wire display(0x3c, D3, D5);
7878

7979

8080
void setup() {

examples/SSD1306SimpleDemo/SSD1306SimpleDemo.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
SSD1306Wire display(0x3c, SDA, SCL); // ADDRESS, SDA, SCL - SDA and SCL usually populate automatically based on your board's pins_arduino.h
5555
// SSD1306Wire display(0x3c, D3, D5); // ADDRESS, SDA, SCL - If not, they can be specified manually.
5656
// SSD1306Wire display(0x3c, SDA, SCL, GEOMETRY_128_32); // ADDRESS, SDA, SCL, OLEDDISPLAY_GEOMETRY - Extra param required for 128x32 displays.
57-
// SH1106 display(0x3c, SDA, SCL); // ADDRESS, SDA, SCL
57+
// SH1106Wire display(0x3c, SDA, SCL); // ADDRESS, SDA, SCL
5858

5959
// Initialize the OLED display using brzo_i2c:
6060
// SSD1306Brzo display(0x3c, D3, D5); // ADDRESS, SDA, SCL

0 commit comments

Comments
 (0)