
trabalho
Dependencies: X_NUCLEO_IKS01A1 mbed-rtos mbed
Fork of HelloWorld_IKS01A1 by
logData.cpp@11:cea55a4c778c, 2016-05-04 (annotated)
- Committer:
- nlsantos
- Date:
- Wed May 04 11:29:33 2016 +0000
- Revision:
- 11:cea55a4c778c
- Child:
- 13:569b49092661
novo commit;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nlsantos | 11:cea55a4c778c | 1 | |
nlsantos | 11:cea55a4c778c | 2 | #include "mbed.h" |
nlsantos | 11:cea55a4c778c | 3 | #include "rtos.h" |
nlsantos | 11:cea55a4c778c | 4 | |
nlsantos | 11:cea55a4c778c | 5 | |
nlsantos | 11:cea55a4c778c | 6 | class LogData |
nlsantos | 11:cea55a4c778c | 7 | { |
nlsantos | 11:cea55a4c778c | 8 | |
nlsantos | 11:cea55a4c778c | 9 | typedef struct { |
nlsantos | 11:cea55a4c778c | 10 | uint8_t id; |
nlsantos | 11:cea55a4c778c | 11 | float tempCelcius; |
nlsantos | 11:cea55a4c778c | 12 | float tempFarenheit; |
nlsantos | 11:cea55a4c778c | 13 | float humidity; |
nlsantos | 11:cea55a4c778c | 14 | float pressure; |
nlsantos | 11:cea55a4c778c | 15 | int accelerometer; |
nlsantos | 11:cea55a4c778c | 16 | int gyroscope; |
nlsantos | 11:cea55a4c778c | 17 | int magnetometer; |
nlsantos | 11:cea55a4c778c | 18 | int dd; |
nlsantos | 11:cea55a4c778c | 19 | int mm; |
nlsantos | 11:cea55a4c778c | 20 | int yyyy; |
nlsantos | 11:cea55a4c778c | 21 | int hh; |
nlsantos | 11:cea55a4c778c | 22 | int min; |
nlsantos | 11:cea55a4c778c | 23 | int ss; |
nlsantos | 11:cea55a4c778c | 24 | |
nlsantos | 11:cea55a4c778c | 25 | }log_data; |
nlsantos | 11:cea55a4c778c | 26 | |
nlsantos | 11:cea55a4c778c | 27 | }; |