Part of the Pacemaker Project; this models the Pacemaker.

Dependencies:   mbed TextLCD mbed-rtos

Revision:
9:fd8477284185
Parent:
7:af6c040f0421
Child:
12:ed162e1f7194
Child:
15:81c5dbdf3ca0
--- a/PacemakerController.cpp	Mon Nov 30 04:00:47 2015 +0000
+++ b/PacemakerController.cpp	Mon Nov 30 20:24:07 2015 +0000
@@ -91,7 +91,7 @@
     if (keyboard_needs_numeric) {
         if (a >= '0' && a <= '9') {
             // update observation interval
-            obs_int = (a - '0') * 5;
+            obs_int = (a - '0' + 1) * 5;
         } else {
             pc.printf("Expected numeric key\n");    
         }