Hello world program that just gets CustomExplorerRobot moving.

Dependencies:   CustomExplorerRobot mbed

Files at this revision

API Documentation at this revision

Comitter:
Usuke
Date:
Sat Feb 27 09:21:05 2016 +0000
Child:
1:444982b9e003
Commit message:
test

Changed in this revision

CustomExplorerRobot.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CustomExplorerRobot.lib	Sat Feb 27 09:21:05 2016 +0000
@@ -0,0 +1,1 @@
+CustomExplorerRobot#ad4667fc5a76
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Feb 27 09:21:05 2016 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+#include "CustomExplorerRobot.h"
+
+CustomExplorerRobot cer;
+
+int main() {
+
+    wait(0.5f);
+    cer.forward(0.5f);
+    wait(0.5f);
+    cer.left(0.5f);
+    wait(0.5f);
+    cer.backward(0.5f);
+    wait(0.5f);
+    cer.right(0.5f);
+    wait(0.5f);
+    cer.stop();
+    
+    return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Feb 27 09:21:05 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/252557024ec3
\ No newline at end of file