Pacemaker code Implementation for SFWRENG 3K04
Dependencies: FXOS8700Q Queue mbed-rtos mbed
Fork of Pacemaker by
hardware.h@0:b2b3955cd77b, 2016-10-30 (annotated)
- Committer:
- FiveDollar
- Date:
- Sun Oct 30 16:04:52 2016 +0000
- Revision:
- 0:b2b3955cd77b
- Child:
- 1:fbba2687ddfe
Initial 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 | 0:b2b3955cd77b | 9 | AnalogOut* getChamber(char); |
FiveDollar | 0:b2b3955cd77b | 10 | |
FiveDollar | 0:b2b3955cd77b | 11 | private: |
FiveDollar | 0:b2b3955cd77b | 12 | AnalogOut atrium; |
FiveDollar | 0:b2b3955cd77b | 13 | AnalogOut ventricle; |
FiveDollar | 0:b2b3955cd77b | 14 | Serial pc; |
FiveDollar | 0:b2b3955cd77b | 15 | }; |