SX1276 Tx Continuous Wave Demo Application
SX1276 Tx Continuous Wave Demo Application
This application is used for test purposes by outputting a continuous wave, at maximum power, at a given frequency.
Diff: main.cpp
- Revision:
- 4:e143703ffc4e
- Parent:
- 3:6a01985db60b
--- a/main.cpp Fri Sep 19 14:22:21 2014 +0000 +++ b/main.cpp Mon Oct 13 07:48:26 2014 +0000 @@ -14,7 +14,7 @@ */ #include "mbed.h" #include "sx1276-hal.h" -#include "mbed_debug.h" +#include "debug.h" /* Set this flag to '1' to test the HF max output power or '0' to the the LF max output power */ #define TEST_HF_OUTPUT 1 @@ -88,7 +88,7 @@ else { // SX1276MB1MAS debug("\r\n TEST_HF_OUTPUT on SX1276MB1MAS: 14 dBm at 868 MHz \r\n" ); - Radio.SetChannel( 868000000 ); + Radio.SetChannel( 880030000 ); TxOuputPower = 20; Radio.Write( 0x01, 0x88 ); Radio.Write( 0x3D, 0xA1 );