prova codice locale

Dependencies:   mbed ESP8266 Servo

Revision:
7:c79c53363102
Parent:
6:3bb8c63c1561
--- a/main.cpp	Sun Oct 09 09:06:46 2016 +0000
+++ b/main.cpp	Thu Oct 13 16:41:18 2016 +0000
@@ -134,7 +134,7 @@
         }
         wait(0.2); // 200 ms
        //  pc.printf("la temperatura ambiente è %f\n",temperatura);
-      /*  if(++time_to_send_data == SEND_TIME)//Invio i dagtiì
+        if(++time_to_send_data == SEND_TIME)//Invio i dagtiì
         {//è arrivato finalmente il tempo di inviare!
             time_to_send_data^=time_to_send_data;//=0;
             connect(esp);
@@ -143,6 +143,6 @@
             perc = (int)(TOT_RUGIADA*umid/100.0);
             send_data(esp,3,perc);
             disconnect(esp);
-        }*/
+        }
     }
 }