config.h 488 B

1234567891011121314151617181920212223
  1. #ifndef __CONFIG_H__
  2. #define __CONFIG_H__
  3. #include "driver/gpio.h"
  4. #define SW_VERSION "1.0"
  5. // These defines configures which code to generate (to save download time during development)
  6. #define WIFI_ENABLED
  7. #define HTTP_ENABLED
  8. //#define MQTT_ENABLED
  9. //#define ENABLE_SEND
  10. #define ENABLE_RELAY_OUTPUT
  11. #define ENABLE_KWH_COUNTER
  12. #define VVB_RELAY_OUTPUT_IO GPIO_NUM_22 // Output GPIO of a relay control of VVB
  13. #define KWH_COUNTER_INPUT_IO GPIO_NUM_16 // Input
  14. #endif