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

MxChip DevKit: Screen Print #344

chandra-rayaprol started this conversation in General
Discussion options

Hi,
I noticed that in the MxChip devkit sample, screen display function 'screen_print()' is erasing all the existing lines and displaying only the last line.
e.g. ,for the the code below
screen_print("Zero", L0);
screen_print("One", L1);
screen_print("Three", L3);
screen_print("Two", L2);

displays only "Two" on the screen.
Could you please look into this issue and advise?
Best Regards,
Chandra Mohan

You must be logged in to vote

Replies: 2 comments

Comment options

Hi @RaysApps,

This is by design, if you take a look at the following line, it clears the screen whenever a new line is written:
https://github.com/azure-rtos/getting-started/blob/0912a22143750e49593a3c740782bb9e1dc6e853/MXChip/AZ3166/app/screen.c#L18

Feel free to make changes and submit a PR if you would like different behaviour.

Ryan

You must be logged in to vote
0 replies
Comment options

I am able to successfully display all four lines by commenting out the line of code as you suggested. My PnP Model component "mxChipSettings" has writable properties that allow the user to display the custom text. Please find the image attached for your reference.
Currently, I am implementing code changes in my project. If required, I will submit a PR once it's all done and tested.
Thank you for your suggestion.

mxchipdisplay

Best Regards,
Chandra Mohan

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

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