Learning classes...

Dependencies:   C12832

Dependents:   PURS_ZI_002

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