eric's fork test
Fork of Pacemaker by
Embed:
(wiki syntax)
Show/hide line numbers
main.cpp
00001 #pragma once 00002 #include "mbed.h" 00003 #include "chamberData.h" 00004 #include "genData.h" 00005 #include "pulse.h" 00006 #include "hardware.h" 00007 #include "interface.h" 00008 00009 //comment testing 00010 //adding comments to test version control functionality 00011 00012 int main(){ 00013 hardware* io = new hardware(); 00014 chamberData* atrium = new chamberData(io->getSerial(),'a'); 00015 chamberData* ventricle = new chamberData(io->getSerial(), 'v'); 00016 pulse* ventPulse = new pulse(ventricle,io); 00017 interface a(io->getSerial() , ventPulse , atrium , ventricle); 00018 delete ventricle; //code never reaches here, since we're stuck in the while loops of the pacing, user interface, etc. 00019 delete atrium; 00020 delete ventPulse; 00021 delete io; 00022 00023 return 0; 00024 } 00025 00026 //added ending comments
Generated on Wed Jul 20 2022 23:08:53 by
1.7.2
Eric Tran
