Skip to content

Suggestions to emWin tutorial #1751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ WM_CreateWindowAsChild(X-position, Y-position, Height, Width, ParentWindow, Visi

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

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

**Full Example:**
**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)**

**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).**

```arduino
#include "DIALOG.h"

Expand Down Expand Up @@ -532,6 +534,8 @@ In the `void loop()` of the sketch the calculation of time for the animation nee
<source src="assets/emwin_progbar.mp4" type="video/mp4" />
</video>

<br>

**Full Example:**

```arduino
Expand Down