create a LoRa Modem from the PingPong example

Dependencies:   SX1276Lib mbed

Fork of SX1276PingPong by Semtech

Files at this revision

API Documentation at this revision

Comitter:
GregCr
Date:
Tue Sep 30 11:11:52 2014 +0000
Parent:
7:c1bbd6c56979
Child:
9:e764990e45df
Commit message:
remove mbed_debug.h as causing insses with NXP board

Changed in this revision

SX1276Lib.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
--- a/SX1276Lib.lib	Fri Sep 26 13:01:01 2014 +0000
+++ b/SX1276Lib.lib	Tue Sep 30 11:11:52 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/GregCr/code/SX1276Lib/#b420e9c3d6fe
+http://mbed.org/users/GregCr/code/SX1276Lib/#4a0720f9b7a3
--- a/main.cpp	Fri Sep 26 13:01:01 2014 +0000
+++ b/main.cpp	Tue Sep 30 11:11:52 2014 +0000
@@ -1,7 +1,7 @@
 #include "mbed.h"
 #include "main.h"
 #include "sx1276-hal.h"
-#include "mbed_debug.h"
+#include "debug.h"
 
 /* Set this flag to '1' to display debug messages on the console */
 #define DEBUG_MESSAGE   0
@@ -49,7 +49,7 @@
 #define RX_TIMEOUT_VALUE                                3500000   // in us
 #define BUFFER_SIZE                                     32        // Define the payload size here
 
-#if( defined ( TARGET_KL25Z ) )
+#if( defined ( TARGET_KL25Z ) || defined ( TARGET_LPC11U6X ) )
 DigitalOut led(LED2);
 #else
 DigitalOut led(LED1);