Test session

Dependencies:   FatFileSystem MCP23017 WattBob_TextLCD mbed

Fork of Assignment_2_herpe by Xavier Herpe

Committer:
xouf2114
Date:
Tue Mar 14 14:46:43 2017 +0000
Revision:
4:48761259552a
Test of Assignment 2

Who changed what in which revision?

UserRevisionLine numberNew contents of line
xouf2114 4:48761259552a 1
xouf2114 4:48761259552a 2 /**
xouf2114 4:48761259552a 3 * Base objects for all tasks to be executed by the TaskManager
xouf2114 4:48761259552a 4 *
xouf2114 4:48761259552a 5 * Author: Jacob Baungard Hansen
xouf2114 4:48761259552a 6 */
xouf2114 4:48761259552a 7
xouf2114 4:48761259552a 8 #include "task.h"
xouf2114 4:48761259552a 9
xouf2114 4:48761259552a 10 /**
xouf2114 4:48761259552a 11 * @param starting_offset when the task should be run first
xouf2114 4:48761259552a 12 * @param frequency_ms the frequency in ms of how often the task should run
xouf2114 4:48761259552a 13 */
xouf2114 4:48761259552a 14 Task::Task(int starting_offset, int frequency_ms) {
xouf2114 4:48761259552a 15 this->next_run_ms=starting_offset;
xouf2114 4:48761259552a 16 this->frequency_ms = frequency_ms;
xouf2114 4:48761259552a 17 }