Hello
I was reading document , there was topic Task function with part of program. its related to RTOS program.
. generally we connect microcontroller with different types of devices (LED, LCD, Keypad, button , switch, Motor ..etc) For specific purpose. there are different type of task such as turn on LED, turn off LED, wait , Run Motor, display message..etc there are three task in program that means device is doing three task. I don't understand, which type of task's it may be ?
can anyone explain with example
I was reading document , there was topic Task function with part of program. its related to RTOS program.
Code:
int main ( void )
{
vInitSystem();// Initialization of peripherals
while(1) // Infinitive function calling loop
{
vTask1(); // Calling task function named vTask1
vTask2(); // Calling task function named vTask2
vTask3(); // Calling task function named vTask3
}
}
can anyone explain with example