Semtech / Mbed 2 deprecated SX1272PingPong

Dependencies:   SX1272Lib mbed

Fork of SX1272PingPong by Semtech

Simple Ping-Pong demo application between two SX1272MB2xAs demo board.

Application demonstrating simple Tx/Rx between two boards. By default, each board starts as a "master" and will transmit a "Ping" message, and then wait for an answer. The first board receiving a "Ping" message will become a slave and answer the "master" with a "Pong". The Ping-Pong is then started

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);