for Danillo

Dependencies:   MBed_Adafruit-GPS-Library SDFileSystem mbed

Revision:
2:abcf77d0e77d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dataPoint.h	Thu Dec 11 01:23:24 2014 +0000
@@ -0,0 +1,34 @@
+#include "mbed.h"
+#include "math.h"
+
+class dataPoint{
+    public:
+    uint8_t hour, minute, seconds, year, month, day;
+    uint16_t milliseconds;
+    float latitude, longitude, geoidheight, altitude;
+    bool fix;
+    uint8_t fixquality, satellites;
+    
+    float LongAvg, ShortAvg, RefAvg;
+    
+    
+    void setTime(uint8_t h, uint8_t m, uint8_t s,  uint16_t mil){
+        hour = h;
+        minute = m;
+        seconds = s;
+        milliseconds = mil;
+    };
+    
+    void setPos(float lat, float lon){
+        latitude = lat;
+        longitude = lon;
+    };
+    void setDate(uint8_t y, uint8_t m, uint8_t d){
+        year = y;
+        month = m;
+        day = d;
+    };      
+    
+    private:
+    
+};
\ No newline at end of file