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: MMA8451Q mbed tsi_sensor
Fork of UTCSBootcamp by
main.cpp@4:4233d072b5af, 2013-08-23 (annotated)
- Committer:
- ccoleman
- Date:
- Fri Aug 23 00:38:23 2013 +0000
- Revision:
- 4:4233d072b5af
- Parent:
- 0:2010bcffbae0
- Child:
- 9:0ba1973c3bd3
Added more backend stuff.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ccoleman | 0:2010bcffbae0 | 1 | #include "CarAPI.h" |
ccoleman | 0:2010bcffbae0 | 2 | |
ccoleman | 4:4233d072b5af | 3 | int main() |
ccoleman | 4:4233d072b5af | 4 | { |
ccoleman | 4:4233d072b5af | 5 | // Initialize necessary components. |
ccoleman | 0:2010bcffbae0 | 6 | init(); |
ccoleman | 0:2010bcffbae0 | 7 | |
ccoleman | 4:4233d072b5af | 8 | // Replace the following lines with your code. |
ccoleman | 4:4233d072b5af | 9 | setDebug(true); |
ccoleman | 4:4233d072b5af | 10 | turn(-0.5); |
ccoleman | 4:4233d072b5af | 11 | sleep(0.5); |
ccoleman | 4:4233d072b5af | 12 | turn(0.5); |
ccoleman | 0:2010bcffbae0 | 13 | |
ccoleman | 4:4233d072b5af | 14 | // End of run. |
ccoleman | 4:4233d072b5af | 15 | finish(); |
ccoleman | 0:2010bcffbae0 | 16 | } |