Temperature dashboard assignment

Dependencies:   EthernetInterface LM75B mbed-rtos mbed

Fork of temperature-dashboard-start by Sille Van Landschoot

TemperatureSensor.h

Committer:
gimohd
Date:
2016-01-16
Revision:
18:61724d00e95d
Parent:
17:c8a4886ba688

File content as of revision 18:61724d00e95d:


#ifndef TemperatureSensor_H
#define TemperatureSensor_H
#include "LM75B.h"
#include <mbed.h>
#include <string>

class TemperatureSensor : public LM75B{ 
 public:      
  TemperatureSensor(PinName sca, PinName scl, std::string key, std::string name);
 std::string getDataPacket();
 private:
  std::string name;
  std::string key;
  PinName sca;
  PinName scl;
};

#endif