3K04 Project / Mbed 2 deprecated PacemakerSerialStuff

Dependencies:   mbed-rtos mbed

Fork of Pacemaker by 3K04 Project

Revision:
6:d71e30291a62
Parent:
1:8f545f45d899
--- a/pulsegenerator.h	Wed Dec 07 21:26:55 2016 +0000
+++ b/pulsegenerator.h	Mon Dec 19 18:50:33 2016 +0000
@@ -1,9 +1,12 @@
 #ifndef pulsegenerator__H
 #define pulsegenerator__H
 
+#include "Param.h"
+#include "pinmap.h"
+#include "rtos.h"
+#include "serial.h"
+#include <time.h>
 
-/*=== Pacing Modes ===*/
-enum modes {VOO=0, AOO, VVI, VOOR, DDD};
 
 /******************************************
 * Setup the pulse generator on device startup
@@ -12,16 +15,6 @@
 void pulsegenerator_initialize ();
 
 /******************************************
-* Set the current pacing mode
-* The current pacing mode will change at an appropriate
-* time in the pacing cycle. The function returns immediately
-* with the previous value of current pacing mode
-* Inputs: newMode - the mode to switch to
-* Returns: The previous pacing mode
-*/
-modes set_pacing_mode (modes newMode);
-
-/******************************************
 * Set the current pace period
 * Inputs: new_pace_period_ms - the pace period to switch to
 * Returns: The previous pace period
@@ -33,4 +26,7 @@
 */
 void begin_pace ();
 
+void serialCheck(string check);
+void egramSend(void);
+
 #endif
\ No newline at end of file