Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
v_pacing.cpp
00001 #include "v_pacing.h" 00002 00003 double v_pace = 0; 00004 00005 double get_v_pace(void){ 00006 return v_pace; 00007 } 00008 00009 int set_v_pace(double amp){ 00010 v_pace = amp; 00011 return 1; 00012 } 00013 00014 int v_pace_sq(double amp , double pulse_width){ 00015 if (get_ventricle_counter() > pulse_width){ 00016 set_ventricle_logic(0); 00017 } 00018 else{ 00019 v_pace = amp; 00020 } 00021 return 0; 00022 }
Generated on Thu Jul 14 2022 20:54:55 by
1.7.2