This software example demonstrates the downlink capabilities of the SIGFOX network.

Dependencies:   QW_Sensors mbed

Fork of HelloWorld - QW Development kit by Quicksand micro-electronics

Revision:
2:a4a68a858624
Parent:
1:897a1b3f0955
Child:
3:4da15d6e1429
--- a/main.cpp	Mon Apr 18 10:44:39 2016 +0000
+++ b/main.cpp	Wed Apr 27 08:12:42 2016 +0000
@@ -13,7 +13,7 @@
 InterruptIn SW2(PB_10);
 
 /*Temperature sensor */
-LinearTempSensor sensor(PA_0, 40);
+LinearTempSensor sensor(PA_0, 5);
 
 /* Function prototypes */
 void sw1interrupt();
@@ -96,6 +96,7 @@
 
     float    tAvg;
     char     command[32];
+    sensor.Sense();
     tAvg = sensor.GetAverageTemp();
     char temperature[6] ="";
     sprintf(temperature, "%3.1f", tAvg);