Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of autonomousRobotAndroid by
Task.cpp
00001 #include "Task.h" 00002 00003 Task::Task(float period) 00004 { 00005 this->period = period; 00006 } 00007 00008 Task::~Task() 00009 { 00010 00011 } 00012 00013 float Task::getPeriod() 00014 { 00015 return period; 00016 } 00017 00018 void Task::start() 00019 { 00020 ticker.attach(this, &Task::run, period); 00021 } 00022 00023 void Task::stop() 00024 { 00025 ticker.detach(); 00026 } 00027 00028 void Task::run() 00029 { 00030 00031 }
Generated on Wed Jul 13 2022 04:37:19 by
1.7.2
