Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1686fba

Browse files
Merge pull request #1751 from arduino/jhansson-ard/patch-1
Suggestions to emWin tutorial
2 parents ec880d2 + a62bd62 commit 1686fba

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)

AltStyle によって変換されたページ (->オリジナル) /