CIS441 Controller

Dependencies:   TextLCD mbed-rtos mbed

Fork of PacemakerController by Chad Nachiappan

Revision:
39:51c4ec84f6fd
Parent:
35:b5e8650a7669
Child:
40:e401b1cb71c0
--- a/PacemakerController.cpp	Wed Dec 02 04:54:53 2015 +0000
+++ b/PacemakerController.cpp	Wed Dec 02 05:20:33 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) {
@@ -298,12 +297,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;