123456789101112131415161718192021222324 |
- #ifndef __CONFIG_H__
- #define __CONFIG_H__
- #include "driver/gpio.h"
- #define SW_VERSION "1.0"
- // These defines configures which code to generate (to save download time during development)
- #define WIFI_ENABLED
- #define HTTP_ENABLED
- #define MQTT_ENABLED
- #define ENABLE_KWH_COUNTER
- #define ENABLE_DS18B20
- //#define MQTT_DEBUG // Add an extra debug string to the topic-string
- #define VVB_RELAY_OUTPUT_IO GPIO_NUM_22 // Output GPIO of a relay control of VVB
- #define KWH_COUNTER_INPUT_IO GPIO_NUM_16 // Input
- #define ONE_WIRE_BUS_IO GPIO_NUM_26 // Temp sensors
- #endif
|