Uncommenting of part that allow supercaps to charge up from the batteries

Dependencies:   mbed millis

Revision:
0:4788e1df7b55
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dashboard.h	Fri Mar 13 11:48:04 2020 +0000
@@ -0,0 +1,29 @@
+#ifndef _DASHBOARD_H_
+#define _DASHBOARD_H_
+
+#include <mbed.h>
+
+class Dashboard {
+    public:
+        Dashboard(InterruptIn& hallSensor);    // CONSTRUCTOR
+        
+        void tachoInterrupt();
+        void getCurrentSpeed();
+        
+        int currentSpeed;
+        float currentDistance;
+        
+    private:
+        InterruptIn& _hallSensor;
+        Timer tachoTimer;
+        int passedTime_ms;
+        float passedTime;
+        float lastTime;
+        float wheelFreq;
+        float wheelCircumference;
+        int numberOfMagnets;
+        int tachoCounter;
+        int currentTime;
+};
+
+#endif
\ No newline at end of file