Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_IKS01A1-f255a2c75ecb mbed-rtos mbed
log.h@25:2197b8bb930c, 2016-05-17 (annotated)
- Committer:
- nlsantos
- Date:
- Tue May 17 21:59:20 2016 +0000
- Revision:
- 25:2197b8bb930c
- Parent:
- 2:0b8065489409
- Child:
- 35:34bbca276f99
COMMENTS COMPLETED
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Jacinta | 0:1eaebb55408a | 1 | #ifndef LOGSTRUCT_H |
| Jacinta | 0:1eaebb55408a | 2 | #define LOGSTRUCT_H |
| Jacinta | 0:1eaebb55408a | 3 | |
| Jacinta | 2:0b8065489409 | 4 | #include <time.h> |
| Jacinta | 2:0b8065489409 | 5 | |
| nlsantos | 25:2197b8bb930c | 6 | // Structure that will hold the log information |
| Jacinta | 2:0b8065489409 | 7 | struct log_data { |
| Jacinta | 0:1eaebb55408a | 8 | float tempCelsius; |
| Jacinta | 0:1eaebb55408a | 9 | float humidity; |
| Jacinta | 0:1eaebb55408a | 10 | float pressure; |
| Jacinta | 2:0b8065489409 | 11 | float accelerometer[3]; |
| Jacinta | 2:0b8065489409 | 12 | float gyroscope[3]; |
| Jacinta | 2:0b8065489409 | 13 | float magnetometer[3]; |
| Jacinta | 2:0b8065489409 | 14 | time_t date; |
| Jacinta | 0:1eaebb55408a | 15 | }; |
| Jacinta | 0:1eaebb55408a | 16 | |
| Jacinta | 0:1eaebb55408a | 17 | #endif |
