test program

Dependencies:   LSM9DS1_Library2 MotorV2 SRF05 Tracker2 mbed nRF24L01P

Fork of DUMP_TRUCK_SPR2017 by Terrabots

main.cpp

Committer:
jcallahan1
Date:
2017-04-23
Revision:
14:192e103d5246
Parent:
13:112b6543909a

File content as of revision 14:192e103d5246:

#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]);
    }*/ 
}