Pacemaker code Implementation for SFWRENG 3K04
Dependencies: FXOS8700Q Queue mbed-rtos mbed
Fork of Pacemaker by
motion.h@19:d58e1e1a9a24, 2016-11-24 (annotated)
- Committer:
- trane3
- Date:
- Thu Nov 24 01:10:08 2016 +0000
- Revision:
- 19:d58e1e1a9a24
- Child:
- 21:fc6c33206152
added motion class, and accelerometer capabilites for rate modulation (eric); modified user interface by seperating each 'page' into seperate modules (eric)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
trane3 | 19:d58e1e1a9a24 | 1 | #pragma once |
trane3 | 19:d58e1e1a9a24 | 2 | #include "mbed.h" |
trane3 | 19:d58e1e1a9a24 | 3 | |
trane3 | 19:d58e1e1a9a24 | 4 | #define VENT |
trane3 | 19:d58e1e1a9a24 | 5 | #define ATR |
trane3 | 19:d58e1e1a9a24 | 6 | |
trane3 | 19:d58e1e1a9a24 | 7 | bool isMotionThresholdExceeded (); |
trane3 | 19:d58e1e1a9a24 | 8 | void resetMotionDetection (); |
trane3 | 19:d58e1e1a9a24 | 9 | void initialize_motion (); |
trane3 | 19:d58e1e1a9a24 | 10 | void motion_thread (); |
trane3 | 19:d58e1e1a9a24 | 11 | void motion_set_chamber(int, chamberData*); |
trane3 | 19:d58e1e1a9a24 | 12 |