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.
Dependencies: BufferedSerial SX1276GenericLib USBDeviceHT max32630fthr
Fork of MAX326xxFTHR_LoRa_PingPong by
Diff: SX1276GenericPingPong/GenericPingPong.cpp
- Revision:
- 19:9f035b9e65ec
- Parent:
- 16:675f4d0ee9e9
diff -r d5527ce82e6b -r 9f035b9e65ec SX1276GenericPingPong/GenericPingPong.cpp
--- a/SX1276GenericPingPong/GenericPingPong.cpp Mon Mar 12 15:00:02 2018 +0000
+++ b/SX1276GenericPingPong/GenericPingPong.cpp Fri Jun 01 22:07:08 2018 +0000
@@ -19,7 +19,7 @@
/* Set this flag to '1' to use the LoRa modulation or to '0' to use FSK modulation */
#define USE_MODEM_LORA 1
#define USE_MODEM_FSK !USE_MODEM_LORA
-#define RF_FREQUENCY RF_FREQUENCY_868_1 // Hz
+#define RF_FREQUENCY RF_FREQUENCY_915_0 // Hz
#define TX_OUTPUT_POWER 14 // 14 dBm
#if USE_MODEM_LORA == 1
@@ -97,8 +97,9 @@
DigitalOut *led3;
-int SX1276PingPong()
+int SX1276PingPong(void)
{
+ dprintf("TEST" );
#if( defined ( TARGET_KL25Z ) || defined ( TARGET_LPC11U6X ) )
DigitalOut *led = new DigitalOut(LED2);
#elif defined(TARGET_NUCLEO_L073RZ) || defined(TARGET_DISCO_L072CZ_LRWAN1)
