Hello world program that just gets CustomExplorerRobot moving.
Dependencies: CustomExplorerRobot mbed
Revision 0:b14e99f78c69, committed 2016-02-27
- Comitter:
- Usuke
- Date:
- Sat Feb 27 09:21:05 2016 +0000
- Child:
- 1:444982b9e003
- Commit message:
- test
Changed in this revision
--- /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
Custom Explorer Robot