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.
Diff: main.cpp
- Revision:
- 4:4233d072b5af
- Parent:
- 0:2010bcffbae0
--- a/main.cpp Thu Aug 22 21:52:21 2013 +0000
+++ b/main.cpp Fri Aug 23 00:38:23 2013 +0000
@@ -1,9 +1,16 @@
#include "CarAPI.h"
-int main() {
+int main()
+{
+ // Initialize necessary components.
init();
- // your code here
+ // Replace the following lines with your code.
+ setDebug(true);
+ turn(-0.5);
+ sleep(0.5);
+ turn(0.5);
- finish();
+ // End of run.
+ finish();
}
\ No newline at end of file
