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 mbed-rtos mbed
Fork of HelloWorld_IKS01A1 by
mailBox.cpp
- Committer:
- stwykd
- Date:
- 2016-05-08
- Revision:
- 28:840000670c88
- Parent:
- 25:55c0dc5b32b3
- Child:
- 31:eb7320bd1d37
File content as of revision 28:840000670c88:
#include "mbed.h" #include "rtos.h" #define QUEUESIZE 100 typedef struct { uint8_t id; float tempCelsius; float tempFarenheit; float humidity; float pressure; int32_t accelerometer[3]; int32_t gyroscope[3]; int32_t magnetometer[3]; char* date; } log_data; Mail<log_data, QUEUESIZE> mail_box;