Timer peripheral class. This lib. include function ; WAIT, stop, reset, start, and read_ms.

Dependents:   DetectFreqAboveTH RN41

Revision:
5:c9304777ce1a
Parent:
2:3060a6604f13
Child:
6:4cb4eea64805
--- a/myTimer.h	Thu Nov 05 04:02:28 2015 +0000
+++ b/myTimer.h	Tue Mar 29 10:50:26 2016 +0000
@@ -17,6 +17,7 @@
     void reset();
     void start(bool _RESET=false);
     int read_ms(bool _START=true, bool _RESET=true, bool _STOP=true);
+    int read_us(bool _START=true, bool _RESET=true, bool _STOP=true);
     void wait_ms(int waitTime, bool _START=true, bool _RESET=true, bool _STOP=true);
 };