![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Test session
Dependencies: FatFileSystem MCP23017 WattBob_TextLCD mbed
Fork of Assignment_2_herpe by
Diff: task.cpp
- Revision:
- 4:48761259552a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/task.cpp Tue Mar 14 14:46:43 2017 +0000 @@ -0,0 +1,17 @@ + +/** + * Base objects for all tasks to be executed by the TaskManager + * + * Author: Jacob Baungard Hansen + */ + +#include "task.h" + +/** + * @param starting_offset when the task should be run first + * @param frequency_ms the frequency in ms of how often the task should run + */ +Task::Task(int starting_offset, int frequency_ms) { + this->next_run_ms=starting_offset; + this->frequency_ms = frequency_ms; +} \ No newline at end of file