mDot source code for the "sensor" mDot in this demo: https://twitter.com/MultiTechSys/status/621708791009124352

Dependencies:   PinDetect libmDot mbed-rtos mbed

mDot source code for the "sensor" mDot in this demo: https://twitter.com/MultiTechSys/status/621708791009124352

Revision:
2:d12fedc86ea5
Parent:
1:bf2afd6890a2
Child:
3:d55b476ea5e6
--- a/main.cpp	Wed Jul 15 20:27:19 2015 +0000
+++ b/main.cpp	Fri Jul 17 16:58:49 2015 +0000
@@ -2,6 +2,7 @@
 // MultiTech Thermostat & Fan Demo (Sensor unit)
 //
 // This program runs on a MultiTech mDot with:
+//   - 1 Arduino base shield
 //   - 2 Grove COM08211P push buttons
 //   - 1 Grove SEN23292P v1.2 temperature sensor
 // ---------------------------------------------
@@ -15,15 +16,15 @@
 Ticker temperatureMonitorTick;
 Ticker periodicSendTick;
 
-PinDetect up_button(PB_1);
-PinDetect down_button(PB_0);
-AnalogIn temperatureSensor(PC_1);
-DigitalOut transmitLED(LED1);
-DigitalOut buttonPressLED(PA_1);
+PinDetect up_button(PB_1);        //A0 on Arduino base shield
+PinDetect down_button(PB_0);      //A1 on Arduino base shield
+AnalogIn temperatureSensor(PC_1); //A2 on Arduino base shield
+DigitalOut transmitLED(LED1);     
+DigitalOut buttonPressLED(PA_1);  //D6 on Arduino base shield
 
 // Configuration variables
-static std::string config_network_name = "mts-fan-demo1";
-static std::string config_network_pass = "multitech";
+static std::string config_network_name = "your_name_here";
+static std::string config_network_pass = "your_key_here";
 static uint8_t config_frequency_sub_band = 1;
 
 //Global Variables