Example showing usage of text and image. Builds on the text example with a banner image at the bottom of the screen.
Dependencies: Hexi_OLED_SSD1351
Fork of Hexi_OLED_Text_Example by
Diff: main.cpp
- Revision:
- 3:cc5f8e152f7f
- Parent:
- 2:47c3dad2c8ef
- Child:
- 4:5625985ca4a4
diff -r 47c3dad2c8ef -r cc5f8e152f7f main.cpp
--- a/main.cpp Fri Aug 26 23:51:06 2016 +0000
+++ b/main.cpp Sat Aug 27 00:03:55 2016 +0000
@@ -53,7 +53,7 @@
sprintf(text,"%.2f",time.read());
/* Display time reading in 35px by 15px textbox at(x=55, y=40) */
- oled.TextBox((uint8_t *)text,55,40,35,15); /*Expand textbox for longer amount of time*/
+ oled.TextBox((uint8_t *)text,55,40,35,15); /*Expand textbox for more digits*/
Thread::wait(1000);
}
