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: content/hardware/10.mega/shields/giga-display-shield/tutorials/12.emwin-guide/content.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ tags: [Display, emWin, GUI]
9
9
10
10
Segger's emWin is a graphical framework for building powerful UIs, and is fully compatible with the GIGA Display Shield. It allows you to build UIs, using pre-made widgets like buttons, images, loading bars, sliders, checkboxes, etc. It also allows you to fully customize the screenspace on the display. In this guide, we will go through some of the different components, so you can learn how to best implement it in your projects.
11
11
12
-
[emWin full demo running on the GIGA Display Shield]()
12
+

13
13
14
14
## Hardware & Software Needed
15
15
@@ -128,7 +128,7 @@ To create different windows inside our display, use the `WM_CreateWindowAsChild(

192
192
193
193
**Full Example:**
194
194
**Remember that the image file needs to be in the same folder as the sketch, use the image that comes with the full demo (File > Examples > Arduino_H7_Video > emWinDemo)**
@@ -238,8 +238,6 @@ Calling `GUI_SetColor()` before the text print will allow you to change the colo
238
238
239
239
For changing the font size, use `GUI_SetFont(&GUI_Font16_1);`, this call will set the font size to 16.
240
240
241
-
[Displaying text with emWin]()
242
-
243
241
**Full Example:**
244
242
245
243
```arduino
@@ -296,7 +294,9 @@ Then for the state of the checkbox the number of states and where it should star
@@ -409,7 +409,7 @@ The GUI will also have to be re-drawn when the value changes so the display stay
409
409
break;
410
410
```
411
411
412
-
[emWin slider]()
412
+

413
413
414
414
**Full Example:**
415
415
@@ -658,7 +658,7 @@ if(Released) {
658
658
}
659
659
```
660
660
661
-
[emWin button]()
661
+

662
662
663
663
**Full Example:**
664
664
@@ -744,7 +744,7 @@ void loop() {
744
744
745
745
This guide went through the building blocks of the different components that can be implemented with emWin. To see these examples in a full running example sketch go to **File > Examples > Arduino_H7_Video > emWinDemo**.
746
746
747
-
[Example in the IDE]()
747
+

748
748
749
749
This demo sketch will show the different components using a screen manager in a 2x2 grid.
0 commit comments