123456789101112131415161718192021222324252627282930 |
- #ifndef _CONFIG_H_
- #define _CONFIG_H_
-
- //#define DEBUG_WAIT_FOR_SERIAL_CONN
-
- #define DEBUG_ENABLE_LCD_OUTPUT_ON_SERIAL
- #define DEBUG_ENABLE_KEYPAD_INPUT_ON_SERIAL
-
- // in milliseconds
- #define DISPLAY_BACKLIGHT_TIMEOUT (5UL * 60UL * 1000UL)
-
- // in seconds
- #define MAX_TANK_FILL_TIME 10
- #define AUTO_PUMP_RUNTIME 5
- #define MAX_AUTO_PLANT_RUNTIME 15
-
- // Sketch version
- #define FIRMWARE_VERSION "0.1"
-
- // all given in milliseconds
- #define SERVER_HANDLE_INTERVAL 10
- #define LED_BLINK_INTERVAL 500
- #define LED_INIT_BLINK_INTERVAL 500
- #define LED_CONNECT_BLINK_INTERVAL 250
- #define LED_ERROR_BLINK_INTERVAL 100
-
- #define OWN_I2C_ADDRESS 0x42
- #define I2C_BUF_SIZE 32
-
- #endif // _CONFIG_H_
|