Version 1.1

Dependencies:   Beacon GPS MODSERIAL PowerControl SDFileSystem mbed

Files at this revision

API Documentation at this revision

Comitter:
Deurklink
Date:
Tue Dec 16 13:02:52 2014 +0000
Commit message:
Version 1.1

Changed in this revision

Beacon.lib Show annotated file Show diff for this revision Revisions of this file
GPS.lib Show annotated file Show diff for this revision Revisions of this file
MODSERIAL.lib Show annotated file Show diff for this revision Revisions of this file
PowerControl.lib Show annotated file Show diff for this revision Revisions of this file
SDFileSystem.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Beacon.lib	Tue Dec 16 13:02:52 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/Deurklink/code/Beacon/#d4cbfcb2be46
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GPS.lib	Tue Dec 16 13:02:52 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/Deurklink/code/GPS/#4e2a078995df
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MODSERIAL.lib	Tue Dec 16 13:02:52 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	Tue Dec 16 13:02:52 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/SDFileSystem.lib	Tue Dec 16 13:02:52 2014 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/mbed_official/code/SDFileSystem/#7b35d1709458
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Dec 16 13:02:52 2014 +0000
@@ -0,0 +1,18 @@
+#include "Beacon.h"
+
+int main(void){
+    Beacon Bcn(p9,p10,p13,p14,25,300);
+    Bcn.L1 = Bcn.init();
+    while(1){
+       // Parse GPS data until data is received on XBee serial port
+       
+       if (Bcn.xbeeReadable()){
+          Bcn.parseXbee();
+          Bcn.L3 = !Bcn.L3;
+       }
+       if (Bcn.gpsReadable()){
+           Bcn.parseGpsData();
+           Bcn.L2 = !Bcn.L2;
+       }       
+    }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Dec 16 13:02:52 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/824293ae5e43
\ No newline at end of file