Question: Write a program using FreeRTOS that performs the following: The program has two tasks: TimeTask, DisplayTask The program has one queue that is shared by
Write a program using FreeRTOS that performs the following: The program has two tasks: TimeTask, DisplayTask The program has one queue that is shared by all of the tasks: timeQueue TimeTask will count the number of seconds since the program was started. Once every second, this task should send the number of seconds since the program started to the DisplayTask via the timeQueue. DisplayTask should retrieve numbers from timeQueue, and print the value in the format of minutes and seconds (see below). . Write a program using FreeRTOS that performs the following: The program has two tasks: TimeTask, DisplayTask The program has one queue that is shared by all of the tasks: timeQueue TimeTask will count the number of seconds since the program was started. Once every second, this task should send the number of seconds since the program started to the DisplayTask via the timeQueue. DisplayTask should retrieve numbers from timeQueue, and print the value in the format of minutes and seconds (see below)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
