Xiaofei Qiu / Command
Revision:
0:4bc34a5fcc29
Child:
1:13c4bf8989d5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Command.cpp	Sat Nov 21 17:17:41 2015 +0000
@@ -0,0 +1,32 @@
+#pragma once
+#include "Command.h"
+#include "mbed.h"
+
+static DigitalOut led1(LED1);
+
+
+void LedCommand :: execute()
+{
+    led1 = !led1;
+}
+
+void TurnLeftCommand :: execute()
+{
+}
+
+void TurnRightCommand :: execute()
+{
+}
+
+void MoveForwardCommand :: execute()
+{
+}
+
+void MoveBackwardCommand :: execute()
+{
+}
+
+void StopCommand :: execute()
+{ 
+}
+