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.
Dependencies: C12832
Diff: Stoperica.h
- Revision:
- 0:5f60bb287bd0
diff -r 000000000000 -r 5f60bb287bd0 Stoperica.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Stoperica.h Wed Feb 03 15:32:23 2016 +0000
@@ -0,0 +1,19 @@
+#ifndef STOPERICA_H
+#define STOPERICA_H
+
+#include "mbed.h"
+#include "C12832.h"
+
+class Stoperica {
+ public:
+ Stoperica(PinName startPausePin, PinName stopPin);
+ private:
+ InterruptIn startPause, stop;
+ C12832 lcd;
+ Timer debounceStartPause, debounceStop, passedTime;
+ void startPausePressed();
+ void stopPressed();
+ bool isMeasurementStarted;
+};
+
+#endif
\ No newline at end of file