test program
Dependencies: LSM9DS1_Library2 MotorV2 SRF05 Tracker2 mbed nRF24L01P
Fork of DUMP_TRUCK_SPR2017 by
main.cpp
- Committer:
- jcallahan1
- Date:
- 2017-04-23
- Revision:
- 15:d473d109983a
- Parent:
- 14:192e103d5246
File content as of revision 15:d473d109983a:
#include "DumpTruck.h" DumpTruck dump(1); Serial pc(USBTX, USBRX); /* test code for driving and stopping when an object gets too close to the dump truck. */ int main() { dump.driveDistance(5,6); // dump.startComms(); // dump.getCommand(); /* for(int i = 0; i < dump.rxDataCnt; i++) { pc.putc(dump.rxData[i]); }*/ }