Pacemaker code Implementation for SFWRENG 3K04
Dependencies: mbed Queue mbed-rtos FXOS8700Q
Fork of Pacemaker by
SWFRENG 3K04 Project to design, develop, and document a functional pacemaker.
The project uses the Freescale K64F Microcontroller and C++ mbed library.
hardware.h@2:fbba2687ddfe, 2016-11-14 (annotated)
- Committer:
- FiveDollar
- Date:
- Mon Nov 14 01:27:31 2016 +0000
- Revision:
- 2:fbba2687ddfe
- Parent:
- 0:b2b3955cd77b
- Child:
- 16:08d5e5a3ee74
nov 13 commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
FiveDollar | 0:b2b3955cd77b | 1 | #pragma once |
FiveDollar | 0:b2b3955cd77b | 2 | #include "mbed.h" |
FiveDollar | 0:b2b3955cd77b | 3 | |
FiveDollar | 0:b2b3955cd77b | 4 | class hardware{ |
FiveDollar | 0:b2b3955cd77b | 5 | public: |
FiveDollar | 0:b2b3955cd77b | 6 | hardware(); |
FiveDollar | 0:b2b3955cd77b | 7 | ~hardware(); |
FiveDollar | 0:b2b3955cd77b | 8 | Serial* getSerial(); |
FiveDollar | 2:fbba2687ddfe | 9 | PwmOut* getChamber(char); |
FiveDollar | 0:b2b3955cd77b | 10 | |
FiveDollar | 0:b2b3955cd77b | 11 | private: |
FiveDollar | 2:fbba2687ddfe | 12 | PwmOut atrium; |
FiveDollar | 2:fbba2687ddfe | 13 | PwmOut ventricle; |
FiveDollar | 0:b2b3955cd77b | 14 | Serial pc; |
FiveDollar | 0:b2b3955cd77b | 15 | }; |