Pacemaker code Implementation for SFWRENG 3K04
Dependencies: FXOS8700Q Queue mbed-rtos mbed
Fork of Pacemaker by
Diff: main.cpp
- Revision:
- 11:35b259e70c9a
- Parent:
- 9:b48423a135d8
- Child:
- 18:aef2f75f216b
- Child:
- 19:d58e1e1a9a24
--- a/main.cpp Tue Nov 15 20:30:12 2016 +0000 +++ b/main.cpp Tue Nov 15 21:27:46 2016 +0000 @@ -14,8 +14,12 @@ chamberData* atrium = new chamberData(io->getSerial(),'a'); chamberData* ventricle = new chamberData(io->getSerial(), 'v'); pulse* ventPulse = new pulse(ventricle,io); + pulse* atrPulse = new pulse(atrium,io); interface a(io->getSerial() , ventPulse , generalData, atrium , ventricle); + //if a.startScreen(); + + delete ventricle; //code never reaches here, since we're stuck in the while loops of the pacing, user interface, etc. delete atrium; delete ventPulse;