Version 1.0
Dependencies: Camera GPS MODSERIAL PowerControl mbed
Revision 0:141da056822b, committed 2014-07-04
- Comitter:
- Deurklink
- Date:
- Fri Jul 04 09:50:04 2014 +0000
- Commit message:
- -
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Camera.lib Fri Jul 04 09:50:04 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/Deurklink/code/Camera/#9719776f6e46
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GPS.lib Fri Jul 04 09:50:04 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/Deurklink/code/GPS/#7bcee56f8cf9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MODSERIAL.lib Fri Jul 04 09:50:04 2014 +0000 @@ -0,0 +1,1 @@ +https://mbed.org/users/AjK/code/MODSERIAL/#ae0408ebdd68
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PowerControl.lib Fri Jul 04 09:50:04 2014 +0000 @@ -0,0 +1,1 @@ +https://mbed.org/users/JST2011/code/PowerControl/#d0fa2aeb02a4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Jul 04 09:50:04 2014 +0000 @@ -0,0 +1,18 @@ +#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; + } + } +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Jul 04 09:50:04 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/824293ae5e43 \ No newline at end of file