From 4265af272a962ce1df1f6a975fdc8210f889760a Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 10 Dec 2013 07:01:52 +0100 Subject: Add some conversions from celsius to adc values Luckily, this ATMega is grossly oversized, so we can just throw in floating point arithmetic. --- controller.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'controller.h') 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 -- cgit v1.2.1