-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Get the status of the display. #1036
Conversation
@leonardocavagnis please take a look at it and let me know. |
There was a problem hiding this 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 to detect()
for better clarity
Also, please add the function to the API documentation
about:
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. :) |
Ok, thanks
I have tested this modification in production environment and work fine for me. |
This functionality expose
detect
method for obtain the shield status.Example usage:
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 via
NVIC_SystemReset();