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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!