Skip to content

Commit a62bd62

Browse files
authored
Suggestions to emWin tutorial
1 parent ec880d2 commit a62bd62

File tree

1 file changed

+6
-2
lines changed
  • content/hardware/10.mega/shields/giga-display-shield/tutorials/12.emwin-guide

1 file changed

+6
-2
lines changed

content/hardware/10.mega/shields/giga-display-shield/tutorials/12.emwin-guide/content.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ WM_CreateWindowAsChild(X-position, Y-position, Height, Width, ParentWindow, Visi
132132

133133
This is how it would look to use emWin to create a 2x2 grid layout inside the main window:
134134

135-
**Full Example**
135+
**Full Example:**
136136
```arduino
137137
static void _cbWin(WM_MESSAGE * pMsg) {
138138
switch (pMsg->MsgId) {
@@ -191,7 +191,9 @@ GUI_DrawBitmap(&bmarduinologo, X-position, Y-position);
191191
![Displaying an image with emWin](assets/emwin-image.png)
192192

193193
**Full Example:**
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)**
194+
195+
**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).**
196+
195197
```arduino
196198
#include "DIALOG.h"
197199
@@ -532,6 +534,8 @@ In the `void loop()` of the sketch the calculation of time for the animation nee
532534
<source src="assets/emwin_progbar.mp4" type="video/mp4" />
533535
</video>
534536

537+
<br>
538+
535539
**Full Example:**
536540

537541
```arduino

0 commit comments

Comments
 (0)