Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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.
Revision 4:e143703ffc4e, committed 2014-10-13
- Comitter:
- GregCr
- Date:
- Mon Oct 13 07:48:26 2014 +0000
- Parent:
- 3:6a01985db60b
- Child:
- 5:2021b1237e6d
- Commit message:
- updated main.cpp
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 19 14:22:21 2014 +0000 +++ b/SX1276Lib.lib Mon Oct 13 07:48:26 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/GregCr/code/SX1276Lib/#2b555111463f +http://mbed.org/users/GregCr/code/SX1276Lib/#aa5b3bf7fdf4
--- 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 );