:)
Dependencies: Servo Cayenne-LPP
Diff: main.cpp
- Revision:
- 61:c608b27d793d
- Parent:
- 59:7b58c5775a56
diff -r f4e2002a9138 -r c608b27d793d main.cpp --- a/main.cpp Mon Jan 27 14:05:26 2020 +0000 +++ b/main.cpp Tue Feb 11 08:40:26 2020 +0000 @@ -188,15 +188,15 @@ int16_t retcode; int32_t sensor_value, rh_value; - /*MyTH02.startTempConv(true,true); + MyTH02.startTempConv(true,true); iTime= MyTH02.waitEndConversion();// wait until onversion is done iTempbrute= MyTH02.getConversionValue(); sensor_value=MyTH02.getLastRawTemp(); printf ("\n\r temp value=%d %d",sensor_value,iTempbrute ); - */ + - +/* if (ds1820.begin()) { ds1820.startConversion(); sensor_value = ds1820.read(); @@ -206,7 +206,7 @@ printf("\r\n No sensor found \r\n"); return; } - + */ Payload.reset(); size = Payload.addTemperature(1, (float) sensor_value/100);