aboutsummaryrefslogtreecommitdiffstats
path: root/temp.h
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2019-05-01 09:36:10 -0400
committerClyne Sullivan <tullivan99@gmail.com>2019-05-01 09:36:10 -0400
commit4f8b7f39f5d404a076142b1f62c85eb09df9061d (patch)
tree88fd0fa2c11abc5d10763895bf8914787cadba5c /temp.h
parentfa8974a5dd710e8352ebde9ade6b9d22eb98b96c (diff)
show object voltage
Diffstat (limited to 'temp.h')
-rwxr-xr-xtemp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/temp.h b/temp.h
index aec66c9..ab28b84 100755
--- a/temp.h
+++ b/temp.h
@@ -27,6 +27,17 @@
*/
int tempInit(void);
+/**
+ * Gets the object's voltage, which may be used in calculations to get the
+ * object's temperature.
+ * @return The object's voltage
+ */
+int16_t tempGetObjVoltage(void);
+
+/**
+ * Gets the current ambient temperature, in Celsius.
+ * @return The ambient temperature
+ */
int16_t tempGetDieTemperature(void);
#endif // TEMP_H_