State machine

Dependencies:   mbed Adafruit_GFX BioroboticsMotorControl MODSERIAL BioroboticsEMGFilter

Revision:
36:691ea4660f29
Parent:
35:38a5af0afee8
--- a/main.cpp	Thu Nov 01 08:50:20 2018 +0000
+++ b/main.cpp	Thu Nov 01 11:10:34 2018 +0000
@@ -145,7 +145,7 @@
     }
     
     if (ud_button.has_just_been_pressed()) {
-        current_state = homing;
+        current_state = operation;
     }
 }