![]() |
Can Opener - ME 507
|
Header file for the taskTemp task. More...
Go to the source code of this file.
Functions | |
| void | taskTemp (void *p_params) |
| Task that periodically reads the temperature of the can and puts it into a variable to be read elsewhere. More... | |
Header file for the taskTemp task.
| void taskTemp | ( | void * | p_params | ) |
Task that periodically reads the temperature of the can and puts it into a variable to be read elsewhere.
Period: 500ms, Priority: 2/4 This task will read a temperature off of the MCP9808 sensor. The task puts this temperature into a Share<float> object that can be read by the printout task later on. It uses vTaskDelayUntil for high accuracy with the timing, so that this occurs every 0.5 seconds
| p_params | An unused parameter where other parameters could be passed in, but they aren't as that is outside the scope of this course |