diff -r 4d7a96c5d1ff -r 531725a09012 thermferm/panel.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thermferm/panel.h Sat Aug 09 16:56:31 2014 +0200 @@ -0,0 +1,34 @@ +#ifndef _PANEL_H +#define _PANEL_H + + +#ifdef HAVE_WIRINGPI_H + +/* + * GPIO pins for the frontpanel LED and push buttons. + */ +#define PANEL_LED 2 +#define PANEL_ENTER 4 +#define PANEL_DOWN 5 +#define PANEL_UP 6 + +/* + * Milliseconds for a key to be short or long pressed. + */ +#define KEY_NORMAL 50 +#define KEY_LONG 2000 + +/* + * LCD timeout in seconds + */ +#define LCD_SLEEP 120 + +/* + * Menu timeout in seconds + */ +#define MENU_TIMEOUT 60 + + +#endif + +#endif