Simple example Ping Pong from Semtech, updated new lib
Fork of SX1276PingPong by
i'm using stm32 nucleo l46rg and stm32 nucleo l073 with sx1276mb1mas.
Revision 8:f956dee63a56, committed 2014-09-30
- 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);