Working version for L-tek FF1705
Diff: DS1820.h
- Revision:
- 11:9be3e73c01f1
- Parent:
- 8:8dfdd1603e4d
--- a/DS1820.h Fri Mar 27 12:34:16 2015 +0000
+++ b/DS1820.h Wed Oct 28 17:34:25 2015 +0000
@@ -15,10 +15,11 @@
DS1820(PinName pin);
DS1820(char model, PinName pin);
- bool begin(void);
- bool isPresent();
- void setResolution(uint8_t res);
- void startConversion(void);
- float read(void);
+ bool begin(void);
+ bool isPresent();
+ void setResolution(uint8_t res);
+ void startConversion(void);
+ float read(void);
+ uint8_t read(float& temp);
};
#endif /* DS1820_H_ */