214:37d1eb0e1d66 | 215:5ad534c79a22 |
---|---|
42 /* wiringPi */ | 42 /* wiringPi */ |
43 #include <wiringPi.h> | 43 #include <wiringPi.h> |
44 #include <pcf8574.h> | 44 #include <pcf8574.h> |
45 #include <lcd.h> | 45 #include <lcd.h> |
46 | 46 |
47 | |
47 #define MENU_NONE 0 | 48 #define MENU_NONE 0 |
48 #define MENU_TOP_DEFAULT 1 | 49 #define MENU_TOP_DEFAULT 1 |
49 #define MENU_TOP_UNITS 2 | 50 #define MENU_TOP_UNITS 2 |
50 #define MENU_UNITS 21 | 51 #define MENU_UNITS 21 |
51 #define MENU_MODE_OFF 211 | 52 #define MENU_MODE_OFF 211 |
68 #define MENU_SYS_HALT 31 | 69 #define MENU_SYS_HALT 31 |
69 #define MENU_SYS_REBOOT 32 | 70 #define MENU_SYS_REBOOT 32 |
70 #define MENU_SYS_MASH 33 | 71 #define MENU_SYS_MASH 33 |
71 #define MENU_SYS_THERMS 34 | 72 #define MENU_SYS_THERMS 34 |
72 | 73 |
73 | 74 #endif |
74 #endif | 75 |
75 | 76 |
76 #define TRUE 1 | 77 #define TRUE 1 |
77 #define FALSE 0 | 78 #define FALSE 0 |
78 | 79 |
79 #define MBSE_SS(x) (x)?(x):"(null)" | 80 #define MBSE_SS(x) (x)?(x):"(null)" |