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.
Diff: main.cpp
- Revision:
- 27:f8deff828a00
- Parent:
- 25:d816de7067da
- Child:
- 29:c0d63940b0c7
--- a/main.cpp Tue Nov 29 01:15:10 2016 +0000 +++ b/main.cpp Tue Nov 29 19:41:38 2016 +0000 @@ -12,8 +12,8 @@ int main(){ hardware* io = new hardware(); genData* generalData = new genData(); - chamberData* atrium = new chamberData(io->getSerial(),'a'); - chamberData* ventricle = new chamberData(io->getSerial(), 'v'); + chamberData* atrium = new chamberData('a'); + chamberData* ventricle = new chamberData('v'); pulse* ventPulse = new pulse(ventricle,io); pulse* atrPulse = new pulse(atrium,io);