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
Revision 3:cc5f8e152f7f, committed 2016-08-27
- Comitter:
- khuang
- Date:
- Sat Aug 27 00:03:55 2016 +0000
- Parent:
- 2:47c3dad2c8ef
- Child:
- 4:5625985ca4a4
- Commit message:
- Added comment;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
}
