You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/Graphics/README.md
+4
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,10 @@ These can also be used with smaller screens on more memory constrained devices.
15
15
16
16
- ESP32 without PSRAM
17
17
18
+
## Screens
19
+
20
+
This demonstrates the low level text display function that is available. Very useful for memory constrained devices with smaller screens.
21
+
18
22
## SimpleWPF
19
23
20
24
This contains an animated graphical menu with allows the selection of pages that demonstrates features of the limited WPF that's available in nanoFramework.
These samples demonstrate the low level text display and graphics display functions that are available.
4
+
5
+
These are very useful for memory constrained devices with smaller screens.
6
+
7
+
To initialize the screen, `DisplayControl.Initialize`, requires `SPIConfiguration` and `ScreenConfiguration` please check below,
8
+
9
+
If `backLigtPin` and `reset` are not used, you can use `-1` as a value. `ScreenConfiguration` requires screen size of your actual screen as `screenWidth` and `screenHeight`.
For different font family and font sizes, you can generate tinyfont. You can find more information about tinyfont on [this blog](http://informatix.miloush.net/microframework/Utilities/TinyFontTool.aspx)
Before displaying the screen don't forget to initialize AXP192 first, you can check `InitiM5Stick()` in `Program.cs` of `m5stick.screen` sample. The features demonstrated are:
56
+
57
+
- Using [AXP192](https://github.com/nanoframework/nanoFramework.IoT.Device/tree/develop/devices/Axp192) to initialize the screen
conststringtext=@"Lorem Ipsum is simply dummy text of the printing and typesetting industry.
33
+
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
34
+
It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
35
+
It was popularised in the 1960s with the release of Letraset sheets containing
36
+
Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.";
0 commit comments