Part of the Pacemaker Project; this models the Pacemaker.

Dependencies:   mbed TextLCD mbed-rtos

Revision:
22:365d51eb3783
Parent:
18:d4cd9d12345e
--- a/PacemakerController.cpp	Mon Nov 30 21:08:26 2015 +0000
+++ b/PacemakerController.cpp	Mon Nov 30 21:36:01 2015 +0000
@@ -96,6 +96,7 @@
         } else {
             pc.printf("Expected numeric key\n");    
         }
+        keyboard_needs_numeric = 0;
     } else if(a == 'N'){
         // if the char is N, update bounds to normal mode
         curr_mode = NORMAL;
@@ -138,6 +139,8 @@
         // do nothing for invalid char
     }
     
+    keyboard_needs_number = 0; 
+    
     
 }