Skip to content

Commit 915f40a

Browse files
authored
Merge pull request #7 from marcmerlin/patch-1
remove reference to temp, Display on a correct line
2 parents cbf0040 + 141929e commit 915f40a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

examples/Oled_Display/Oled_Display.ino

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ void loop() {
99
int random_value = random(0, 1023); // create a random value
1010

1111
Oled.setFont(u8x8_font_chroma48medium8_r);
12-
Oled.setCursor(0, 33);
13-
Oled.print("Temp: ");
14-
Oled.print(random_value);
15-
Oled.print("C");
16-
Oled.refreshDisplay();
12+
Oled.setCursor(0, 3);
13+
Oled.print("Value: ");
14+
Oled.print(random_value)
1715
delay(1000);
1816
}

0 commit comments

Comments
 (0)