Eric Tran
/
PacemakerVOORforkTest
eric's fork test
Fork of Pacemaker by
main.cpp
- Committer:
- trane3
- Date:
- 2016-11-15
- Revision:
- 8:75c1dd8b0d61
- Parent:
- 3:84d3ef9acd17
File content as of revision 8:75c1dd8b0d61:
#pragma once #include "mbed.h" #include "chamberData.h" #include "genData.h" #include "pulse.h" #include "hardware.h" #include "interface.h" //comment testing //adding comments to test version control functionality int main(){ hardware* io = new hardware(); chamberData* atrium = new chamberData(io->getSerial(),'a'); chamberData* ventricle = new chamberData(io->getSerial(), 'v'); pulse* ventPulse = new pulse(ventricle,io); interface a(io->getSerial() , ventPulse , atrium , ventricle); delete ventricle; //code never reaches here, since we're stuck in the while loops of the pacing, user interface, etc. delete atrium; delete ventPulse; delete io; return 0; } //added ending comments