Part of the Pacemaker Project; this models the Pacemaker.

Dependencies:   mbed TextLCD mbed-rtos

Revision:
45:ec9e76ccec6c
Parent:
44:dfa38e4b3146
Child:
46:2d9cf50b4bc3
--- a/PacemakerController.cpp	Wed Dec 02 07:01:24 2015 +0000
+++ b/PacemakerController.cpp	Wed Dec 02 07:23:57 2015 +0000
@@ -255,21 +255,21 @@
                 // if the char is N, update bounds to normal mode
                 curr_mode = NORMAL;
                 upper_bound = 100;
-                LRI = 1000;
+                LRI = 600;
                 lower_bound = 40;
                 pc.printf("MODE IS N\n");
                 // if the char is S, set bounds to sleep
             } else if (a == 'S') {
                 curr_mode = SLEEP;
                 upper_bound = 60;
-                LRI = 600;
+                LRI = 1000;
                 lower_bound = 30;
                 pc.printf("MODE IS S\n");
                 // if the char is E, set bounds to exercise
             } else if (a == 'E') {
                 curr_mode = EXERCISE;
                 upper_bound = 175;
-                LRI = 1750;
+                LRI = 343;
                 lower_bound = 100;
                 pc.printf("MODE IS E\n");
                 // if the char is M, set to manual