GPS Lora

Dependencies:   LoRaWAN-lib MODGPS

Files at this revision

API Documentation at this revision

Comitter:
afeezaziz
Date:
Wed Dec 28 07:22:55 2016 +0000
Commit message:
init

Changed in this revision

LoRaWAN-lib.lib Show annotated file Show diff for this revision Revisions of this file
MODGPS.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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LoRaWAN-lib.lib	Wed Dec 28 07:22:55 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/teams/Semtech/code/LoRaWAN-lib/#c16969e0f70f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MODGPS.lib	Wed Dec 28 07:22:55 2016 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/AjK/code/MODGPS/#64771e31464e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Dec 28 07:22:55 2016 +0000
@@ -0,0 +1,19 @@
+#include "mbed.h"
+
+AnalogOut my_output(PA_4);
+
+#define PI        (3.141592653589793238462)
+#define AMPLITUDE (1.0)    // x * 3.3V
+#define PHASE     (PI * 1) // 2*pi is one period
+#define RANGE     (0x7FFF)
+#define OFFSET    (0x7FFF)
+
+// Configuration for sinewave output
+#define BUFFER_SIZE (360)
+uint16_t buffer[BUFFER_SIZE];
+
+void calculate_sinewave(void);
+
+int main() {
+
+}