test program

Dependencies:   LSM9DS1_Library2 MotorV2 SRF05 Tracker2 mbed nRF24L01P

Fork of DUMP_TRUCK_SPR2017 by Terrabots

main.cpp

Committer:
simplyellow
Date:
2017-04-13
Revision:
13:112b6543909a
Parent:
11:87f30625b213
Child:
14:192e103d5246

File content as of revision 13:112b6543909a:

#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.startComms();
    dump.getCommand();
    /*
    for(int i = 0; i < dump.rxDataCnt; i++) {
        pc.putc(dump.rxData[i]);
    }*/ 
}