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:48d390356fba
- Parent:
- 3:c9df852ad9ac
diff -r c9df852ad9ac -r 48d390356fba main.cpp --- a/main.cpp Wed Feb 21 11:55:29 2018 +0000 +++ b/main.cpp Thu Feb 22 17:01:00 2018 +0000 @@ -1,20 +1,9 @@ #include "mbed.h" #include "pwm.h" +#include "control.h" + int main(){ - motorSetup(); -while(1){ - if(joystickCenter == 1){ - wait(0.5); - buggyGoF(); - wait(2); - buggyGoLeft(); - wait(2); - buggyGoRight(); - wait(2); - buggyStop(); + controlManual(0); } -} - -} \ No newline at end of file