-
Couldn't load subscription status.
- Fork 189
MxChip DevKit: Screen Print #344
-
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
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments
-
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
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
Best Regards,
Chandra Mohan
Beta Was this translation helpful? Give feedback.