Dallas

Dependencies:   DS18B20 mbed

Dallas.h

Committer:
Edgar2016
Date:
2016-09-22
Revision:
0:c2bc9c47c922

File content as of revision 0:c2bc9c47c922:

#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