Question: FreeRTOS programming Write a program using FreeRTOS that performs the following The program has two tasks: TimeTask, DisplayTask . . The program has one queue
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) The purpose of this homework is to show that you are able to use the queues, delays, and synchronization mechanisms provided by FreeRTOS. Ensure that you are using them as needed, and are using them properly. Include comments in your code describing what it does, so that you can receive partial credit even if your solution is incorrect
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
