Temperature dashboard assignment
Dependencies: EthernetInterface LM75B mbed-rtos mbed
Fork of temperature-dashboard-start by
TemperatureSensor.h
- Committer:
- gimohd
- Date:
- 2016-01-16
- Revision:
- 17:c8a4886ba688
File content as of revision 17:c8a4886ba688:
#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