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.
Dependencies: PID mbed MaxSonar eeprom iSerial Fork_Boss_Communication_Robot
Revision 12:8a06a803e373, committed 2016-03-03
- Comitter:
- palmdotax
- Date:
- Thu Mar 03 09:07:22 2016 +0000
- Parent:
- 11:9df7ada37d31
- Commit message:
- LOL
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Mar 02 23:10:18 2016 +0000
+++ b/main.cpp Thu Mar 03 09:07:22 2016 +0000
@@ -156,9 +156,10 @@
m1.movespeed_2(1,0,0);
}
//shutdown.attach_us(&Timeout, 2.0);
- time_getsensor.attach_us(&getSensor, 2.0);
+ else
+ {time_getsensor.attach_us(&getSensor, 2.0);
time_distance.attach_us(&get_d, 2.0);
PID_m1();
- PID_m2();
+ PID_m2();}
}
}
\ No newline at end of file