changeset 421:5055caf46064

fridge range is decicelcius
author Matt Johnston <matt@ucc.asn.au>
date Wed, 10 Oct 2012 22:48:24 +0800
parents d386bbab85cf
children 91e3d410ed51
files main.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main.c	Wed Oct 10 21:04:13 2012 +0800
+++ b/main.c	Wed Oct 10 22:48:24 2012 +0800
@@ -35,8 +35,9 @@
 #define VALUE_NOSENSOR 0x07D0 // 125 degrees
 #define VALUE_BROKEN 0x07D1 // 125.0625
 
-#define FRIDGE_AIR_MIN_RANGE 3
-#define FRIDGE_AIR_MAX_RANGE 3
+// ranges are in decicelcius
+#define FRIDGE_AIR_MIN_RANGE 30
+#define FRIDGE_AIR_MAX_RANGE 30
 #define OVERSHOOT_SCALE 1
 
 #define BAUD 19200