config.h 593 B

123456789101112131415161718192021222324
  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 topic-string
  10. //#define RX_TIMER
  11. //#define IR_RECEIVER
  12. #define ONE_WIRE_BUS_IO GPIO_NUM_16 // Temp sensors
  13. #define GPIO_IR_RX_DATA GPIO_NUM_25 // IR Receiver
  14. #define GPIO_IR_TX_DATA GPIO_NUM_26 // IR Transmitter
  15. #endif