endpoint including temperature and distance sensors
Dependencies: mbed mbedConnectorInterface mbedEndpointNetwork TrashSensors
Fork of TempAndDistTest by
Diff: GroveTemp.h
- Revision:
- 11:ac0ff76a6deb
- Parent:
- 10:338191178cbf
--- a/GroveTemp.h Mon May 18 00:44:59 2015 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -/* -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