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: hardware.cpp
- Revision:
- 10:35b259e70c9a
- Parent:
- 8:75c1dd8b0d61
- Child:
- 16:08d5e5a3ee74
diff -r b48423a135d8 -r 35b259e70c9a hardware.cpp --- a/hardware.cpp Tue Nov 15 20:30:12 2016 +0000 +++ b/hardware.cpp Tue Nov 15 21:27:46 2016 +0000 @@ -2,12 +2,12 @@ #include "hardware.h" #include "mbed.h" -PwmOut atrium(PTC12); -PwmOut ventricle(PTC12); +PwmOut atrium(PTC10); +PwmOut ventricle(PTC11); Serial pc(USBTX,USBRX); -hardware::hardware(): atrium(PTC12) , ventricle(PTC12) , pc(USBTX,USBRX){ +hardware::hardware(): atrium(PTC10) , ventricle(PTC11) , pc(USBTX,USBRX){ pc.baud(9600); }