CIS441 Controller

Dependencies:   TextLCD mbed-rtos mbed

Fork of PacemakerController by Chad Nachiappan

Revision:
40:e401b1cb71c0
Parent:
38:ceabf8f1dfa0
Parent:
39:51c4ec84f6fd
Child:
42:2e4ed3a53c64
--- a/PacemakerController.cpp	Wed Dec 02 05:04:33 2015 +0000
+++ b/PacemakerController.cpp	Wed Dec 02 05:23:52 2015 +0000
@@ -206,7 +206,6 @@
                 led_vpace = 1;
 
                 t_count.reset();
-                pc.printf("in pmresponse 2");
                 vpace();
             }
         } else if (t_count.read_ms() < LRI - AVI) {
@@ -302,12 +301,14 @@
                 // check for A if mode is manual
             } else if (a == 'A') {
                 if(curr_mode == MANUAL) {
-                    pc.printf("MODE IS MANUAL GOT APACE\n");
+                    apace();
+                    pc.printf("MODE IS MANUAL SENT APACE\n");
                 }
                 // check for V is mode is manual
             } else if (a == 'V') {
                 if(curr_mode == MANUAL) {
-                    pc.printf("MODE IS MANUAL GOT VPACE\n");
+                    vpace();
+                    pc.printf("MODE IS MANUAL SENT VPACE\n");
                 }
             } else if (a == 'O') {
                 keyboard_needs_numeric = 1;