Closed Coder-X15 closed 3 years ago
xTaskCreate()
function support functions that are not of the void type? - The reference for xTaskCreate()
is here in the FreeRTOS documentation. Everything about FreeRTOS is there to read.Thanks... seems like my second doubt was stupid, but why I actually asked it was whether it could be used to run two different widgets on a screen at the same time by using the capabilities of this marvellous project ':)
Also, thanks for labeling this as a discussion.. I didn't know how to label these 😄
...whether it could be used to run two different widgets on a screen at the same time?
Typically, one Task might be set up to manage a piece of hardware or logical interface (i.e. the screen). Then you'd use message passing via Queues to inform that task that the widgets need to be updated, using one or more Tasks to generate the messages if you have separate sources.
One Task might read the temperature, and another might handle the keyboard. Inputs from these two Tasks could change screen widgets via queue based message passing.
But, that is a very general answer to a very general question.
Ok thanks....
I have a few doubts regarding this project, which I'd like to get cleared:
xTaskCreate()
function support functions that are not of thevoid
type ?Thanks in advance ! :)