Test session

Dependencies:   FatFileSystem MCP23017 WattBob_TextLCD mbed

Fork of Assignment_2_herpe by Xavier Herpe

task.cpp

Committer:
xouf2114
Date:
2017-03-14
Revision:
4:48761259552a

File content as of revision 4:48761259552a:


/**
 * 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;
}