config.h 486 B

1234567891011121314151617181920
  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 MQTT_ENABLED
  8. #define ENABLE_DS18B20
  9. //#define MQTT_DEBUG // Add an extra debug string to the beginning of the topic-string
  10. #define KWH_COUNTER_INPUT_IO GPIO_NUM_16 // Input
  11. #define ONE_WIRE_BUS_IO GPIO_NUM_26 // Temp sensors
  12. #endif