Xavier Gouesnard / Mbed 2 deprecated Assignment_2_XG

Dependencies:   FatFileSystem MCP23017 WattBob_TextLCD mbed

Fork of Assignment_2_herpe by Xavier Herpe

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers task.cpp Source File

task.cpp

00001 
00002 /**
00003  * Base objects for all tasks to be executed by the TaskManager
00004  *
00005  * Author: Jacob Baungard Hansen
00006  */
00007 
00008 #include "task.h"
00009 
00010 /**
00011  * @param starting_offset           when the task should be run first
00012  * @param frequency_ms              the frequency in ms of how often the task should run
00013  */
00014 Task::Task(int starting_offset, int frequency_ms) {
00015     this->next_run_ms=starting_offset;
00016     this->frequency_ms = frequency_ms;
00017 }