trabalho

Dependencies:   X_NUCLEO_IKS01A1 mbed-rtos mbed

Fork of HelloWorld_IKS01A1 by ST

Files at this revision

API Documentation at this revision

Comitter:
nlsantos
Date:
Wed May 04 11:29:33 2016 +0000
Parent:
9:00e24ae0f942
Child:
12:7ef8061de189
Commit message:
novo commit;

Changed in this revision

logData.cpp Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/logData.cpp	Wed May 04 11:29:33 2016 +0000
@@ -0,0 +1,27 @@
+
+#include "mbed.h"
+#include "rtos.h"
+
+
+class LogData 
+{
+
+typedef struct {
+  uint8_t   id;
+  float    tempCelcius;
+  float    tempFarenheit;
+  float    humidity;
+  float    pressure;
+  int      accelerometer;
+  int      gyroscope;
+  int      magnetometer;
+  int      dd;
+  int      mm;
+  int      yyyy;
+  int      hh;
+  int      min;
+  int      ss;
+  
+  }log_data;
+
+};
\ No newline at end of file