Pacemaker code Implementation for SFWRENG 3K04
Dependencies: FXOS8700Q Queue mbed-rtos mbed
Fork of Pacemaker by
dataStruct.h
- Committer:
- FiveDollar
- Date:
- 2016-11-29
- Revision:
- 30:0cb4890910cd
- Parent:
- 16:08d5e5a3ee74
File content as of revision 30:0cb4890910cd:
#pragma once #include "mbed.h" #include "hardware.h" #include "rtos.h" #include "queue.h" #define START_THREAD 1 void dataStruct(hardware*); queue getData(); extern hardware* io; static const int N = 13; double k_streamPeriod; hardware* myHardware; double streamValue; queue myQueue(1,N); static void threadStarter(void const *p); void storeData(); Thread thread;