Eric Tran
/
PacemakerVOORforkTest
eric's fork test
Fork of Pacemaker by
Diff: hardware.cpp
- Revision:
- 5:253c33930e91
- Parent:
- 2:fbba2687ddfe
- Child:
- 8:75c1dd8b0d61
--- a/hardware.cpp Mon Nov 14 01:29:57 2016 +0000 +++ b/hardware.cpp Mon Nov 14 02:11:34 2016 +0000 @@ -3,7 +3,7 @@ #include "mbed.h" PwmOut atrium(PTC12); -PwmOut ventricle(PTC12; +PwmOut ventricle(PTC12); Serial pc(USBTX,USBRX); @@ -18,7 +18,7 @@ return p; } -AnalogOut* hardware::getChamber(char chamber){ +PwmOut* hardware::getChamber(char chamber){ if(chamber == 'a'){ PwmOut* a = &atrium; return a;