LinkNode_TemperatureAdvertising

Dependencies:   LinkNod_TemperatureAdvertising

Dependents:   LinkNode_Temperatur LinkNode_TemperatureAdvertising_22

Fork of Sensors by Delong Qi

Revision:
6:836584114fd6
Parent:
5:912a1f021b8d
--- a/Sensors.cpp	Wed Mar 02 05:45:57 2016 +0000
+++ b/Sensors.cpp	Wed Apr 13 13:19:34 2016 +0000
@@ -1,7 +1,6 @@
 #include "Sensors.h"
 
 I2C i2c(P0_17, P0_18);
-Serial pc(P0_23,P0_25);
 Ticker ticker1;
 BMP180 bmp180(&i2c);
 
@@ -25,9 +24,9 @@
                 data_1 = (uint8_t)(data/5.0);
                 i = 0;
                 data = 0;    
-                printf("The average temperature = %d C\n",data_1);
+                //printf("The average temperature = %d C\n",data_1);
             }
-            printf("Temperature = %f C\n",temp); 
+           // printf("Temperature = %f C\n",temp); 
         }
     }
 }