Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed mbedConnectorInterface mbedEndpointNetwork TrashSensors
Fork of TempAndDistTest by
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
