Weather control switch for connected day. NXP LPC 1768 module. Ethernet connectivity.

Dependencies:   EthernetInterface mbed-rtos mbed nanoservice_client_1_12

Fork of Trenton_Switch_LPC1768_WIFLY by Demo Team

Revision:
26:3467812d5832
Parent:
25:cb16c5248769
--- a/main.cpp	Wed Dec 03 09:03:29 2014 +0000
+++ b/main.cpp	Wed Dec 03 09:11:47 2014 +0000
@@ -17,10 +17,8 @@
 #include "EthernetInterface.h"
 #include "main.h"
 #include "nsdl_support.h"
-#include "sensor_ctl.h"
 #include "switch.h"
 
-
 //Serial pc(USBTX, USBRX);
 
 // ****************************************************************************
@@ -192,10 +190,8 @@
             n = 0;
         }
         
-
         //Check if need to send pressure mat update...
-       handle_microphone_sample_timer();
-
+        switch_report();
         
         //NSDL Tick
         if(nsdlTickTimer.read() >= NSDL_TICK_PERIOD) {
@@ -220,7 +216,6 @@
 }
 
 
-
 /**
  *  \param none
  *  \return int