Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RenBuggyServo by
Revision 8:7af88a6dbb05, committed 2014-04-03
- Comitter:
- ELloyd
- Date:
- Thu Apr 03 09:47:03 2014 +0000
- Parent:
- 7:566d6deaceac
- Commit message:
- Made a main.cpp
Changed in this revision
| 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 |
diff -r 566d6deaceac -r 7af88a6dbb05 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu Apr 03 09:47:03 2014 +0000
@@ -0,0 +1,14 @@
+#include "Car.h"
+#include "mbed.h"
+
+Car BuggyName(p10, p25);
+
+int main ()
+{
+ BuggyName.forwards_timed(3.0);
+ BuggyName.setDirection(45);
+ BuggyName.forwards_timed(2.5);
+ BuggyName.setDirection(-45);
+ BuggyName.forwards_timed(4.0);
+ BuggyName.stop();
+}
diff -r 566d6deaceac -r 7af88a6dbb05 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Apr 03 09:47:03 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/7d30d6019079 \ No newline at end of file
