Terrabots
/
DUMP_TRUCK_TEST_V1
Motor is being implemented in this version. Trying to implement catching errors
main.cpp@0:6942f0e2198c, 2016-11-01 (annotated)
- Committer:
- Josahty
- Date:
- Tue Nov 01 20:13:57 2016 +0000
- Revision:
- 0:6942f0e2198c
- Child:
- 5:dc4cf6cc24b3
DUMP_TRUCK V4 with commented areas
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Josahty | 0:6942f0e2198c | 1 | #include "mbed.h" |
Josahty | 0:6942f0e2198c | 2 | #include "DumpTruck.h" |
Josahty | 0:6942f0e2198c | 3 | |
Josahty | 0:6942f0e2198c | 4 | DigitalOut myled(LED1); |
Josahty | 0:6942f0e2198c | 5 | |
Josahty | 0:6942f0e2198c | 6 | |
Josahty | 0:6942f0e2198c | 7 | int main() { |
Josahty | 0:6942f0e2198c | 8 | DumpTruck foo(1); |
Josahty | 0:6942f0e2198c | 9 | foo.drive(); |
Josahty | 0:6942f0e2198c | 10 | } |
Josahty | 0:6942f0e2198c | 11 |