Pull request for i.a. sensor buffer template

Dependencies:   BLE_API MPU6050 mbed nRF51822

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers AppTime.cpp Source File

AppTime.cpp

00001 #include "AppTime.h"
00002 
00003 #include "mbed.h"
00004 #include "Timer.h"
00005 
00006 static Timer runTime;
00007 
00008 void AppTime::init(){
00009     runTime.start();
00010 }
00011 
00012 float AppTime::getTime(){
00013     return runTime;
00014 }
00015