STM32F746G-DISCO, FreeRTOS, TouchFGX
If I call the function with the button from the STM32F746G-DISCO screen, e.g. a counter, do I have to use FreeRTOS to display the value of the counter on the screen?
If I call the function with the button from the STM32F746G-DISCO screen, e.g. a counter, do I have to use FreeRTOS to display the value of the counter on the screen?
In that case just follow the instructions in the pinned post in this forum, there's information on that. Generally:
1) Fetch the value from your other RTOS task inside Model::tick()
2) implement a function in the modelListener interface to handle this value (temperatureUpdated(uint8_t _temp))
3) Notify active presenter of this new value: modelListener->temperatureUpdated(val)
4) Implement that function in your presenter.
5) Call something on the view to update the temperature, maybe text area.
/Martin
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.