![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Dallas
Diff: Dallas.cpp
- Revision:
- 0:c2bc9c47c922
diff -r 000000000000 -r c2bc9c47c922 Dallas.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Dallas.cpp Thu Sep 22 17:41:33 2016 +0000 @@ -0,0 +1,8 @@ +Dallas::Dallas(): +_DS18B20(Dallas::pin, Dallas::crcOn, Dallas::useAddr, Dallas::parasitic, Dallas::Address){ +} + +float lerTemperatura(DS18B20 _DS18B20){ + _DS18B20.setResolution(); + _DS18B20.calculateTemperature(); +} \ No newline at end of file