MAX326xxFTHR LoRa Example

Dependencies:   BufferedSerial SX1276GenericLib max32630fthr USBDeviceHT

Revision:
19:9f035b9e65ec
Parent:
16:675f4d0ee9e9
--- 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)