Version 1.0
Dependencies: Camera GPS MODSERIAL PowerControl mbed
main.cpp
- Committer:
- Deurklink
- Date:
- 2014-07-04
- Revision:
- 0:141da056822b
File content as of revision 0:141da056822b:
#include "Camera.h" int main(void){ Camera Cmr(p13,p14,p9,p10,25,300,100); // gpsTx,gpsRx,xbTx,xbRx,freq,len,cdelay Cmr.init(); while(1){ // Parse GPS data until data is received on XBee serial port if (Cmr.xbeeReadable()){ Cmr.parseXbee(); Cmr.L3 = !Cmr.L3; } if (Cmr.gpsReadable()){ Cmr.parseGpsData(); Cmr.L2 = !Cmr.L2; } } }