tortuga DataLogging Library: battery, speed, time, average...

Dependents:   TORTUGA_BLE

Fork of DataLogging by aapje monkey

Revision:
3:610ace66d7af
Parent:
2:f3c2bf5521e5
--- a/Data.h	Sat Apr 30 13:29:23 2016 +0000
+++ b/Data.h	Tue Jul 12 11:54:41 2016 +0000
@@ -6,19 +6,17 @@
 class Data{
     //Ticker voor peroidieke metingen.
 protected:
-    
-    //int count;
     time_t StartTime;
     float distance;
     float lastDistance;
-    int lastCount;
+    uint8_t PPR;
+    float periphery;
+    
 public:
-    Data(float startDistance = 0,uint32_t time = 0);
+    Data(float startDistance = 0,uint32_t time = 0, uint8_t ppr = 1, float Periphery = 2.233168);
     float getDistance(void);
     uint32_t getTime(void);
-    float getSpeed(void);
     float getAverage(void);
-    int getLastCount(void);
     void pressed(void);
     void interval(int count);
 };