temperature and distance
Fork of TrashSensors by
Diff: GroveTemp.h
- Revision:
- 0:3f335fc50cef
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GroveTemp.h Sun May 24 20:45:32 2015 +0000 @@ -0,0 +1,30 @@ +/* +GroveTemp.h +IoT GarbageCollectors + +Created by Timothy Ambrose on 4/29/15. +*/ + +#ifndef GROVE_TEMP_H +#define GROVE_TEMP_H + +#include "mbed.h" +#define TEMP_BETA 3975 + +class GroveTempSensor { +private: + float temperature, + resistance, + minTemp, + maxTemp; + bool minMaxDefined; + +public: + GroveTempSensor(); + float getTemp(); + void resetMinMax(); + float getMin(); + float getMax(); +}; + +#endif \ No newline at end of file