DIY fertilizer mixer and plant watering machine https://www.xythobuz.de/giessomat.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.h 679B

123456789101112131415161718192021222324252627282930
  1. #ifndef _CONFIG_H_
  2. #define _CONFIG_H_
  3. //#define DEBUG_WAIT_FOR_SERIAL_CONN
  4. #define DEBUG_ENABLE_LCD_OUTPUT_ON_SERIAL
  5. #define DEBUG_ENABLE_KEYPAD_INPUT_ON_SERIAL
  6. // in milliseconds
  7. #define DISPLAY_BACKLIGHT_TIMEOUT (5UL * 60UL * 1000UL)
  8. // in seconds
  9. #define MAX_TANK_FILL_TIME 10
  10. #define AUTO_PUMP_RUNTIME 5
  11. #define MAX_AUTO_PLANT_RUNTIME 15
  12. // Sketch version
  13. #define FIRMWARE_VERSION "0.1"
  14. // all given in milliseconds
  15. #define SERVER_HANDLE_INTERVAL 10
  16. #define LED_BLINK_INTERVAL 500
  17. #define LED_INIT_BLINK_INTERVAL 500
  18. #define LED_CONNECT_BLINK_INTERVAL 250
  19. #define LED_ERROR_BLINK_INTERVAL 100
  20. #define OWN_I2C_ADDRESS 0x42
  21. #define I2C_BUF_SIZE 32
  22. #endif // _CONFIG_H_