123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
-
-
- #ifndef _CONFIG_H_
- #define _CONFIG_H_
-
-
-
- #define DEBUG_ENABLE_LCD_OUTPUT_ON_SERIAL
- #define DEBUG_ENABLE_KEYPAD_INPUT_ON_SERIAL
-
-
- #define DISPLAY_BACKLIGHT_TIMEOUT (5UL * 60UL * 1000UL)
- #define BACK_TO_IDLE_TIMEOUT (5UL * 60UL * 1000UL)
-
-
- #define MAX_TANK_FILL_TIME (80)
- #define AUTO_STIRR_RUNTIME 60
- #define MAX_AUTO_PLANT_RUNTIME (35 * 60)
- #define MAX_PUMP_RUNTIME 30
- #define MAX_VALVE_RUNTIME (45 * 60)
- #define MAX_AUX_RUNTIME (5 * 60)
- #define KICKSTART_RUNTIME 45
- #define OVERRUN_RUNTIME 75
- #define PURGE_FILL_RUNTIME 20
- #define FULLAUTO_MIN_PLANT_COUNT 2
- #define FULLAUTO_END_PUMP_TIME 30
-
-
- #define FIRMWARE_VERSION "0.6"
-
-
- #define SERVER_HANDLE_INTERVAL 10
- #define WEBSOCKET_UPDATE_INTERVAL 500
- #define LED_BLINK_INTERVAL 500
- #define LED_INIT_BLINK_INTERVAL 500
- #define LED_CONNECT_BLINK_INTERVAL 250
- #define LED_ERROR_BLINK_INTERVAL 100
-
-
- #define MAX_WIFI_CONNECT_ATTEMPTS 40
-
- #define INVERT_SENSOR_BOTTOM
-
-
- #define CHECK_SENSORS_VALVE_PUMP_MENU_FULL
-
-
- #define OWN_I2C_ADDRESS 0x42
- #define I2C_BUS_SPEED 400000
- #define I2C_BUF_SIZE 32
-
-
- #define GPIO_TEST_INTERVAL 4000
- #define GPIO_TEST_DELAY 200
-
-
- #define ENABLE_INFLUXDB_LOGGING
- #define INFLUXDB_HOST "10.23.42.14"
- #define INFLUXDB_PORT 8086
- #define INFLUXDB_DATABASE "giessomat"
-
- #define DOOR_LOCK_PIN 4223
- #define DOOR_LOCK_PIN_MAX_DIGITS 6
- #define DOOR_LOCK_ON_TIME 200
- #define DOOR_LOCK_NEXT_DELAY 100
-
- #endif
|