comparison: thermferm/panel.h
thermferm/panel.h
- changeset 197
- 531725a09012
- child 199
- 3f5d277a69e3
equal
deleted
inserted
replaced
|
1 #ifndef _PANEL_H |
|
2 #define _PANEL_H |
|
3 |
|
4 |
|
5 #ifdef HAVE_WIRINGPI_H |
|
6 |
|
7 /* |
|
8 * GPIO pins for the frontpanel LED and push buttons. |
|
9 */ |
|
10 #define PANEL_LED 2 |
|
11 #define PANEL_ENTER 4 |
|
12 #define PANEL_DOWN 5 |
|
13 #define PANEL_UP 6 |
|
14 |
|
15 /* |
|
16 * Milliseconds for a key to be short or long pressed. |
|
17 */ |
|
18 #define KEY_NORMAL 50 |
|
19 #define KEY_LONG 2000 |
|
20 |
|
21 /* |
|
22 * LCD timeout in seconds |
|
23 */ |
|
24 #define LCD_SLEEP 120 |
|
25 |
|
26 /* |
|
27 * Menu timeout in seconds |
|
28 */ |
|
29 #define MENU_TIMEOUT 60 |
|
30 |
|
31 |
|
32 #endif |
|
33 |
|
34 #endif |