![](/media/cache/profiles/DSC_0020.jpg.50x50_q85.jpg)
a pacemaker
Diff: pacing.cpp
- Revision:
- 3:334300ac49e5
- Parent:
- 1:446bd28a1f19
--- a/pacing.cpp Wed Oct 26 14:04:14 2016 +0000 +++ b/pacing.cpp Wed Oct 26 18:20:43 2016 +0000 @@ -1,5 +1,13 @@ #include "pacing.h" +PinName atrial_pin; +PinName ventricle_pin; + +void assign_pins(PinName pin_a , PinName pin_v){ + atrial_pin = pin_a; + ventricle_pin = pin_v; + } + void write_to_pin(PinName pin , int to_write){ DigitalOut(pin , to_write); }