config.h 340 B

1234567891011121314151617181920212223
  1. #ifndef __CONFIG_H__
  2. #define __CONFIG_H__
  3. #include "driver/gpio.h"
  4. #define SW_VERSION "1.0"
  5. #define ACTIVE_THRESHOLD_MS 60000 // 60 seconds in milliseconds
  6. #define PHOTO_SENSOR_PIN GPIO_NUM_18
  7. #define BLINK_GPIO CONFIG_BLINK_GPIO
  8. #define SOUND_ENABLED
  9. #define DOOR_SENSOR_ENABLED
  10. #define WIFI_ENABLED
  11. #define MQTT_ENABLED
  12. #endif