Skip to content

Commit 0301fe3

Browse files
committed
Added demo images
1 parent 301813b commit 0301fe3

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,29 @@ The SSD1306Demo is a very comprehensive example demonstrating the most important
2525
## Fonts
2626

2727
Fonts are defined in a proprietary but open format. I wrote a program that converts any TrueType font into this format. Once the code is useful enough I will publish it or make it available as Webapplication (SaaS), where you can make any font you like available to the library.
28+
29+
## Demo
30+
31+
### Frame 1
32+
![DemoFrame1](https://github.com/squix78/esp8266-oled-ssd1306/raw/master/resources/DemoFrame1.jpg)
33+
This frame shows three things:
34+
* How to draw an xbm image
35+
* How to draw a static text which is not moved by the frame transition
36+
* The active/inactive frame indicators
37+
38+
### Frame 2
39+
![DemoFrame2](https://github.com/squix78/esp8266-oled-ssd1306/raw/master/resources/DemoFrame2.jpg)
40+
41+
Currently there are one fontface with three sizes included in the library: Arial 10, 16 and 24. Once the converter is published you will be able to convert any ttf font into the used format.
42+
43+
### Frame 3
44+
45+
![DemoFrame3](https://github.com/squix78/esp8266-oled-ssd1306/raw/master/resources/DemoFrame3.jpg)
46+
47+
This frame demonstrates the text alignment. The coordinates in the frame show relative to which position the texts have been rendered.
48+
49+
### Frame 4
50+
51+
![DemoFrame4](https://github.com/squix78/esp8266-oled-ssd1306/raw/master/resources/DemoFrame4.jpg)
52+
53+
This shows how to use define a maximum width after which the driver automatically wraps a word to the next line. This comes in very handy if you have longer texts to display.

0 commit comments

Comments
 (0)