A demo application for HXC900 LoRaWAN module using Nucleo-L053R8.

Dependencies:   mbed

Revision:
14:05245fe1a7a0
Parent:
13:985092816446
Child:
15:2860c960d2ff
--- a/lora_conf.h	Tue Jul 24 02:30:55 2018 +0000
+++ b/lora_conf.h	Tue Jul 24 02:51:20 2018 +0000
@@ -63,12 +63,6 @@
 #define CONFIRMED   1
 
 
-// Mbed specific declaration
-AnalogIn temperatureSensor(A0);
-DigitalOut nucleoLED(LED1);
-DigitalOut blueLED(D11);
-DigitalOut redLED(D10);
-DigitalOut greenLED(D9);
 
 static void tolower_array(char *array, uint8_t arraySize);
 
@@ -89,6 +83,7 @@
         uint16_t temperatureValueInt = temperatureValue * 3300; // Change the value to be in the 0 to 3300 range
         buffer[size++] = (temperatureValueInt >> 8) & 0xFF;
         buffer[size++] = temperatureValueInt & 0xFF;
+        buffer[size++] = slideSwitch;
     }
     else
     {