Timer peripheral class. This lib. include function ; WAIT, stop, reset, start, and read_ms.
Dependents: DetectFreqAboveTH RN41
Diff: myTimer.h
- Revision:
- 2:3060a6604f13
- Parent:
- 1:685c0f37a569
- Child:
- 5:c9304777ce1a
--- a/myTimer.h Sun Sep 27 11:44:47 2015 +0000 +++ b/myTimer.h Tue Oct 06 06:53:16 2015 +0000 @@ -15,7 +15,7 @@ myTimer(); void stop(); void reset(); - void start(); + void start(bool _RESET=false); int read_ms(bool _START=true, bool _RESET=true, bool _STOP=true); void wait_ms(int waitTime, bool _START=true, bool _RESET=true, bool _STOP=true); };