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.
Dependents: DetectFreqAboveTH RN41
Diff: myTimer.h
- Revision:
- 0:04c9087b9ca9
- Child:
- 1:685c0f37a569
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/myTimer.h Wed Sep 02 04:35:03 2015 +0000
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "mbed.h"
+
+/** Timer Class.
+ *
+ * stop, reset, start, read_ms.
+*/
+class myTimer
+{
+private:
+ Timer timer;
+
+public:
+ myTimer();
+ void stop();
+ void reset();
+ void start();
+ int read_ms(bool _START=true, bool _RESET=true, bool _STOP=true);
+};
+
+// EOF
\ No newline at end of file