thermferm/thermferm.h

changeset 418
0bfe08c7ba6e
parent 397
00ca08f5a6f8
child 420
644a6106d712
equal deleted inserted replaced
417:9943f49fdb98 418:0bfe08c7ba6e
53 #define LOCK_DEVICES 0 53 #define LOCK_DEVICES 0
54 #define LOCK_LCD 1 54 #define LOCK_LCD 1
55 #define LOCK_MENU 2 55 #define LOCK_MENU 2
56 #define LOCK_SPARE2 3 56 #define LOCK_SPARE2 3
57 57
58 #endif
58 59
59 60
60 /* 61 /*
61 * Frontpanel menu numbers 62 * Frontpanel menu numbers
62 */ 63 */
82 #define MENU_PROFILE_GOOFF 2156 83 #define MENU_PROFILE_GOOFF 2156
83 #define MENU_TOP_SYS 3 84 #define MENU_TOP_SYS 3
84 #define MENU_SYS_HALT 31 85 #define MENU_SYS_HALT 31
85 #define MENU_SYS_REBOOT 32 86 #define MENU_SYS_REBOOT 32
86 87
87 #endif
88 88
89 89
90 /* 90 /*
91 * 1-Wire devices 91 * 1-Wire devices
92 */ 92 */
312 int temp_state; /* 0=ok, 1=missing, 2=error */ 312 int temp_state; /* 0=ok, 1=missing, 2=error */
313 int temp_value; /* Air temperature in C * 1000 */ 313 int temp_value; /* Air temperature in C * 1000 */
314 char *hum_address; /* Environment huminity */ 314 char *hum_address; /* Environment huminity */
315 int hum_state; /* 0=ok, 1=missing, 2=error */ 315 int hum_state; /* 0=ok, 1=missing, 2=error */
316 int hum_value; /* Huminity in % * 1000 */ 316 int hum_value; /* Huminity in % * 1000 */
317 #ifdef HAVE_WIRINGPI_H
318 int lcd_cols; /* LCD display columns */ 317 int lcd_cols; /* LCD display columns */
319 int lcd_rows; /* LCD display rows */ 318 int lcd_rows; /* LCD display rows */
320 int lcd_address; /* LCD display i2c address */ 319 int lcd_address; /* LCD display i2c address */
321 #endif
322 units_list *units; /* Fermenter units */ 320 units_list *units; /* Fermenter units */
323 profiles_list *profiles; /* Ferment profiles */ 321 profiles_list *profiles; /* Ferment profiles */
324 devices_list *devices; /* Sensors and switches */ 322 devices_list *devices; /* Sensors and switches */
325 #ifdef USE_SIMULATOR 323 #ifdef USE_SIMULATOR
326 simulator_list *simulators; /* Simulators */ 324 simulator_list *simulators; /* Simulators */

mercurial