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.
clock.h
00001 #include "mbed.h" 00002 00003 //A ticker that calls the function toggler at a scheduled time length 00004 int start_clock(void); 00005 00006 //A ticker that calls the function toggler at a scheduled time length 00007 int start_toggler(double switch_time); 00008 00009 //A counter that updates to the current time 00010 void increment_counter(void); 00011 00012 //Updates the varible toggle_switch 00013 void toggler(void); 00014 00015 //Returns the clock time 00016 double get_time(void); 00017 00018 int get_atrial_logic(void); 00019 00020 int get_ventricle_logic(void); 00021 00022 int set_atrial_logic(int logic); 00023 00024 int set_ventricle_logic(int logic); 00025 00026 double get_atrial_counter(void); 00027 00028 double get_ventricle_counter(void);
Generated on Thu Jul 14 2022 20:54:55 by
1.7.2