summaryrefslogtreecommitdiff
path: root/controller.h
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2013-12-10 07:01:52 +0100
committerChristian Franke <nobody@nowhere.ws>2013-12-10 07:01:52 +0100
commit4265af272a962ce1df1f6a975fdc8210f889760a (patch)
tree5aa10060c5c76ad99d5ab6e36fd81413d72a24cb /controller.h
parentee3f9c98681127496101900d65d05c8520b16732 (diff)
Add some conversions from celsius to adc valuesHEADmaster
Luckily, this ATMega is grossly oversized, so we can just throw in floating point arithmetic.
Diffstat (limited to 'controller.h')
-rw-r--r--controller.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller.h b/controller.h
index 0b65a73..70e7f30 100644
--- a/controller.h
+++ b/controller.h
@@ -2,8 +2,8 @@
#define CONTROLLER_H
void controller_init(void);
-int controller_set(long target);
-long controller_get(void);
+int controller_set(double target);
+double controller_get(void);
void controller_off(void);
#endif