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: MPU9250_SPI
Fork of WearableDevice_Nucleo by
Diff: event.h
- Revision:
- 24:eed68c95160c
- Parent:
- 23:aad5fd1b3ef9
- Child:
- 25:86137c182a17
--- a/event.h Wed Oct 25 13:24:05 2017 +0000 +++ b/event.h Fri Oct 27 09:59:32 2017 +0000 @@ -7,24 +7,32 @@ * Date: 12-Oct-2017 * Version: V0.1 */ +#include "MPU9250.h" +#include "pin.h" +#include "XBeeLib.h" //----------------------------------------------------------------- #ifndef EVENT_H_ #define EVENT_H_ -void print_stinrg(void); -void print_event(void); -void blink_event(void); +// void print_stinrg(void); +// void print_event(void); +// void blink_event(void); -void readIMU(void); -void readMicrophone(void); -void storeIMU(void); -void storeMicrophone(void); -void sendData(void); -void gayEvent(void); +// void readIMU(void); +// void readMicrophone(void); +// void storeIMU(void); +// void storeMicrophone(void); +// void sendData(void); +// void gayEvent(void); void CheckInputBuffer(void); +void ReadIMUData(void); -// extern Timer time_stamp; +extern XBeeLib::XBeeZB XBee; +extern Timer time_stamp; +extern mpu9250_spi imu; +extern AnalogIn micro; +extern Serial PC; #endif // EVENT_H_ //----------------------------------------------------------------- \ No newline at end of file