State machines are commonly used to implement decision making algorithms. State machines are used in applications where distinguishable states exist. A finite state machine (FSM) is based on the idea that a given system has a finite number of states. In Summary States: 5 1.Error 2.Configuration 3.Ready 4.Assigned 5.Locked Transitions: 2 1.GO 2.OUT

Dependencies:   mbed

Fork of mbed_blinky by Mbed

Revision:
3:2e347c65be00
Parent:
2:c30dc3ae7426
Child:
4:81cea7a352b0
--- a/main.cpp	Tue Mar 18 10:54:49 2014 +0000
+++ b/main.cpp	Tue Mar 18 11:04:22 2014 +0000
@@ -7,7 +7,5 @@
         myled = 1;
         wait(0.2);
         myled = 0;
-        wait(0.2);
-        // test
-    }
+        wait(0.2);    }
 }