CIS441 Controller

Dependencies:   TextLCD mbed-rtos mbed

Fork of PacemakerController by Chad Nachiappan

Revision:
25:18923916215b
Parent:
23:08456978fb78
Child:
26:64e2bc7d544a
--- a/PMTest.cpp	Tue Dec 01 16:04:11 2015 +0000
+++ b/PMTest.cpp	Tue Dec 01 21:42:52 2015 +0000
@@ -64,7 +64,24 @@
 
     if(a = 'R'){
         curr_mode = RANDOM;
+    }else if(a == 'T'){
+        curr_mode = TEST;
+    }else if(a == 'M'){
+        curr_mode = MANUAL;
     }
+    
+    if(a == 'A' && curr_mode = MANUAL){
+        asense = 1;
+        Thread::wait(10);
+        asense = 0;
+    }
+    
+    if(a == 'V' && curr_mode = MANUAL){
+        vsense = 1;
+        Thread::wait(10);
+        vsense = 0;
+    }
+