thermferm/thermferm.h

changeset 95
2c28afc329a5
parent 94
38ee038f4cec
child 101
1302abe92eb1
equal deleted inserted replaced
94:38ee038f4cec 95:2c28afc329a5
154 int lcd_rows; /* LCD display rows */ 154 int lcd_rows; /* LCD display rows */
155 int lcd_address; /* LCD display i2c address */ 155 int lcd_address; /* LCD display i2c address */
156 #endif 156 #endif
157 units_list *units; /* Fermenter units */ 157 units_list *units; /* Fermenter units */
158 profiles_list *profiles; /* Ferment profiles */ 158 profiles_list *profiles; /* Ferment profiles */
159 /* ControlSettings: */
160 unsigned char cs_mode; /* mode */
161 float cs_beerSet; /* beer temperature */
162 float cs_fridgeSet; /* fridge temperature */
163 float cs_heatEstimator;
164 float cs_coolEstimator;
165 /* ControlConstants */
166 float cc_tempSetMin;
167 float cc_tempSetMax;
168 float cc_idleRangeH;
169 float cc_idleRangeL;
170 } sys_config; 159 } sys_config;
171 160
172 161
173 void killconfig(void); 162 void killconfig(void);
174 int rdconfig(void); 163 int rdconfig(void);
221 #else 210 #else
222 void *my_sensors_loop(void *); 211 void *my_sensors_loop(void *);
223 #endif 212 #endif
224 213
225 /* server.c */ 214 /* server.c */
226 void defaultControlSettings(void);
227 void defaultControlConstants(void);
228 #ifdef HAVE_WIRINGPI_H 215 #ifdef HAVE_WIRINGPI_H
229 PI_THREAD (my_server_loop); 216 PI_THREAD (my_server_loop);
230 #else 217 #else
231 void *my_server_loop(void *); 218 void *my_server_loop(void *);
232 #endif 219 #endif

mercurial