Dallas

Dependencies:   DS18B20 mbed

Revision:
0:c2bc9c47c922
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Dallas.h	Thu Sep 22 17:41:33 2016 +0000
@@ -0,0 +1,22 @@
+#ifndef Dallas_H
+#define Dallas_H
+
+#include "mbed.h"
+#include "DS18B20.h"
+
+class Dallas{
+    static const PinName pin = D10;
+    static const bool crcOn;
+    static const bool useAddr;
+    static const bool parasitic;
+    static const unsigned char* Address;
+    
+    DS18B20 _DS18B20;
+    public:
+    Dallas();
+    ~Dallas();
+    float lerTemperatura(DS18B20 _DS18B20);
+    
+};
+
+#endif
\ No newline at end of file