
trabalho
Dependencies: X_NUCLEO_IKS01A1 mbed-rtos mbed
Fork of HelloWorld_IKS01A1 by
Diff: logData.cpp
- Revision:
- 11:cea55a4c778c
- Child:
- 13:569b49092661
--- /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