Pacemaker code Implementation for SFWRENG 3K04
Dependencies: FXOS8700Q Queue mbed-rtos mbed
Fork of Pacemaker by
voor.h@18:aef2f75f216b, 2016-11-16 (annotated)
- Committer:
- trane3
- Date:
- Wed Nov 16 20:55:27 2016 +0000
- Revision:
- 18:aef2f75f216b
- Parent:
- 8:75c1dd8b0d61
test for threading and width setting - (eric)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
trane3 | 7:4eb590c7e064 | 1 | #pragma once |
trane3 | 7:4eb590c7e064 | 2 | #include "mbed.h" |
trane3 | 8:75c1dd8b0d61 | 3 | #include "pulse.h" |
trane3 | 18:aef2f75f216b | 4 | #include "rtos.h" |
trane3 | 7:4eb590c7e064 | 5 | |
trane3 | 7:4eb590c7e064 | 6 | class voor { |
trane3 | 7:4eb590c7e064 | 7 | public: |
trane3 | 7:4eb590c7e064 | 8 | voor(); |
trane3 | 7:4eb590c7e064 | 9 | ~voor(); |
trane3 | 8:75c1dd8b0d61 | 10 | voor(pulse*); |
trane3 | 7:4eb590c7e064 | 11 | void startPace(); |
trane3 | 8:75c1dd8b0d61 | 12 | void setPacingMode(int); |
trane3 | 18:aef2f75f216b | 13 | void voor_pace(void const *args); |
trane3 | 8:75c1dd8b0d61 | 14 | private: |
trane3 | 8:75c1dd8b0d61 | 15 | int y_pacingMode; |
trane3 | 8:75c1dd8b0d61 | 16 | pulse* voorPulse; |
trane3 | 8:75c1dd8b0d61 | 17 | |
trane3 | 7:4eb590c7e064 | 18 | }; |