Skip to content

Commit 102bb14

Browse files
committed
Clean up display2 init
1 parent 8fc51db commit 102bb14

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ env:
1414
- PLATFORMIO_CI_SRC=examples/SSD1306DrawingDemo
1515
- PLATFORMIO_CI_SRC=examples/SSD1306OTADemo
1616
- PLATFORMIO_CI_SRC=examples/SSD1306ClockDemo
17+
- PLATFORMIO_CI_SRC=examples/SSD1306TwoScreenDemo
1718

1819

1920
install:

examples/SSD1306TwoScreenDemo/SSD1306TwoScreenDemo.ino

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,19 @@ void setup() {
5252

5353
// Initialising the UI will init the display too.
5454
display.init();
55+
display2.init();
56+
5557
display.setI2cAutoInit(true);
5658
display2.setI2cAutoInit(true);
5759

5860

5961
display.flipScreenVertically();
6062
display.setFont(ArialMT_Plain_10);
6163

62-
display2.init();
63-
//display2.setFont(ArialMT_Plain_10);
64+
display.flipScreenVertically();
65+
display2.setFont(ArialMT_Plain_10);
66+
67+
6468

6569
}
6670

0 commit comments

Comments
 (0)