basic code timer for microcontroller usage
Diff: codeTimer.h
- Revision:
- 0:ef39a53751b9
diff -r 000000000000 -r ef39a53751b9 codeTimer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/codeTimer.h Sun Oct 31 10:42:20 2021 +0000 @@ -0,0 +1,13 @@ +#pragma once +#include "mbed.h" + +class CTIMER { + long long time_us_; + Timer t_; +public: + + void cTimerStart(); + void cTimerBreak(unsigned int timeInterval); + void cTimerStop(); + +}; \ No newline at end of file