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
Diff: GroveTemp.h
- Revision:
- 0:cb422b231ea5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/GroveTemp.h Fri May 01 23:21:36 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
