Mercurial > templog
comparison main.c @ 138:08adc1fa02e8
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 22 Oct 2012 21:09:17 +0800 |
parents | 10d35b4370ef 2b112f9ab440 |
children | 9091411be841 |
comparison
equal
deleted
inserted
replaced
135:10d35b4370ef | 138:08adc1fa02e8 |
---|---|
82 static uint16_t measure_wake = 61; // not a divisor of comms_wake | 82 static uint16_t measure_wake = 61; // not a divisor of comms_wake |
83 static uint16_t comms_wake = 600; | 83 static uint16_t comms_wake = 600; |
84 static uint8_t wake_secs = 30; | 84 static uint8_t wake_secs = 30; |
85 // decidegrees | 85 // decidegrees |
86 static int16_t fridge_setpoint = 180; // 18.0ºC | 86 static int16_t fridge_setpoint = 180; // 18.0ºC |
87 static int16_t fridge_difference = 3; // 0.3ºC | 87 static uint16_t fridge_difference = 3; // 0.3ºC |
88 static uint16_t fridge_delay = 600; // seconds | 88 static uint16_t fridge_delay = 600; // seconds |
89 | 89 |
90 static uint16_t overshoot_delay = 720; // 12 mins | 90 static uint16_t overshoot_delay = 720; // 12 mins |
91 static uint8_t overshoot_factor = 10; // 1.0ºC | 91 static uint8_t overshoot_factor = 10; // 1.0ºC |
92 | 92 |
161 uint16_t measure_wake; | 161 uint16_t measure_wake; |
162 uint16_t comms_wake; | 162 uint16_t comms_wake; |
163 uint8_t wake_secs; | 163 uint8_t wake_secs; |
164 | 164 |
165 int16_t fridge_setpoint; // decidegrees | 165 int16_t fridge_setpoint; // decidegrees |
166 uint8_t fridge_difference; // decidegrees | 166 uint16_t fridge_difference; // decidegrees |
167 uint16_t fridge_delay; | 167 uint16_t fridge_delay; |
168 | 168 |
169 uint16_t overshoot_delay; | 169 uint16_t overshoot_delay; |
170 uint8_t overshoot_factor; // decidegrees | 170 uint8_t overshoot_factor; // decidegrees |
171 | 171 |