Main repository for dump truck API development in Spring 2017
Dependencies: Tracker mbed MotorV2 SRF05 nRF24L01P
Fork of DUMP_TRUCK_TEST_V1 by
Activities
This Week
If needed, please contact Milo Pan at mpan9@gatech.edu for rights and access to this repository.
Diff: main.cpp
- Revision:
- 11:87f30625b213
- Parent:
- 10:cf77da9be0b8
- Child:
- 13:112b6543909a
--- a/main.cpp Tue Feb 28 21:11:48 2017 +0000 +++ b/main.cpp Tue Mar 14 20:10:27 2017 +0000 @@ -7,7 +7,9 @@ */ int main() { - while(1) { + + while(1) { + printf("%f\r\n",(float)dump.detect()); if(dump.detect()) { dump.stop(); } else { @@ -16,3 +18,4 @@ } } +