Movatterモバイル変換


[0]ホーム

URL:


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

Get the status of the display.#1036

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
leonardocavagnis merged 3 commits intoarduino:mainfromdmazzella:patch-2
Mar 17, 2025
Merged

Get the status of the display.#1036

leonardocavagnis merged 3 commits intoarduino:mainfromdmazzella:patch-2
Mar 17, 2025

Conversation

@dmazzella
Copy link
Contributor

@dmazzelladmazzella commentedMar 14, 2025
edited
Loading

This functionality exposedetect method for obtain the shield status.

Example usage:

voidloop() {// Displayif (!Display.detect()) {NVIC_SystemReset();  }// LVGLlv_timer_handler();// IOT CLOUDdo {    ArduinoCloud.update();  }while (block_for_ota);}

in the production environment we have noticed the loss of connection to the display on the portenta h7 and this modification identifies this problem and allows an action to resolve the problem.

P.S.
the continuous call also unintentionally seems to have solved another vertical image scroll problem that often occurred when resetting the portenta via pin reset or viaNVIC_SystemReset();

@dmazzella
Copy link
ContributorAuthor

@leonardocavagnis please take a look at it and let me know.

leonardocavagnis reacted with thumbs up emoji

@leonardocavagnisleonardocavagnis self-requested a reviewMarch 17, 2025 08:08
Copy link
Member

@leonardocavagnisleonardocavagnis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for the PR!
I suggest renaming the API todetect() for better clarity
Also, please add the function to theAPI documentation

@dmazzella
Copy link
ContributorAuthor

@leonardocavagnis

about:

the continuous call also unintentionally seems to have solved another vertical image scroll problem that often occurred when resetting the portenta via pin reset or via NVIC_SystemReset();

have you ever experienced this problem on portenta h7?

@leonardocavagnis
Copy link
Member

@leonardocavagnis

about:

the continuous call also unintentionally seems to have solved another vertical image scroll problem that often occurred when resetting the portenta via pin reset or via NVIC_SystemReset();

have you ever experienced this problem on portenta h7?

Nope, I haven't experienced it :( but I haven't tested it intensively. Thanks for pointing it out!

At the moment, I can't test the PR. If you confirm that the detect() function is working fine, I'll merge it. :)
Thanks!

@dmazzella
Copy link
ContributorAuthor

@leonardocavagnis
about:

the continuous call also unintentionally seems to have solved another vertical image scroll problem that often occurred when resetting the portenta via pin reset or via NVIC_SystemReset();

have you ever experienced this problem on portenta h7?

Nope, I haven't experienced it :( but I haven't tested it intensively. Thanks for pointing it out!

Ok, thanks

At the moment, I can't test the PR. If you confirm that the detect() function is working fine, I'll merge it. :) Thanks!

I have tested this modification in production environment and work fine for me.

leonardocavagnis reacted with heart emoji

@leonardocavagnisleonardocavagnis merged commitf7ff411 intoarduino:mainMar 17, 2025
11 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@leonardocavagnisleonardocavagnisleonardocavagnis requested changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@dmazzella@leonardocavagnis

[8]ページ先頭

©2009-2025 Movatter.jp