Proof of concept for distance and temperature monitoring

Dependencies:   mbed mbedConnectorInterface mbedEndpointNetwork

GroveTemp.h

Committer:
coyotebush
Date:
2015-05-18
Revision:
10:338191178cbf
Parent:
0:cb422b231ea5

File content as of revision 10:338191178cbf:

/*
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