How to receive the data to be displayed in View
Thank you for helping.
I want to display the value detected by the sensor in View.
I'm thinking of using the RTOS mail queue.
Where should I describe queue reception?
Thank you.
Thank you for helping.
I want to display the value detected by the sensor in View.
I'm thinking of using the RTOS mail queue.
Where should I describe queue reception?
Thank you.
Hi @Ebun.1 Whereas you may check the webinar content, here is a brief of what you could possibly do :
1) Use the Model::tick function to read your sensor value(s) & communicate to the TouchGFX system, using the presenter object ( this means your polling/reading of the sensor happens only during the porch intervals, typically @ 60 hz ). Please be aware that the polling code should execute within 1 mS so as not to have an impact on the graphics;
2) Create another task & then use the message queue or any other inter-task communication methods to send the information. You will have to use the Model::tick function here as well to receive the information using inter-task communication & propagate the information further.
You may also check : https://support.touchgfx.com/docs/development/ui-development/touchgfx-engine-features/backend-communication
Keep reading the online documentation iteratively to get a good control over the framework.
/Jagdish
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.