config.h 698 B

1234567891011121314151617181920212223242526272829
  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 RX_TIMER_ENABLED
  7. //#define TRANCEIVER_ENABLED
  8. //#define WIFI_ENABLED
  9. //#define MQTT_ENABLED
  10. #define ENABLE_DS18B20
  11. #define MQTT_DEBUG // Add an extra debug string to the beginning of the topic-string
  12. #define ONE_WIRE_BUS_IO GPIO_NUM_26 // Temp sensors
  13. #define ENABLE_LUX_SENSOR
  14. #define I2C_MASTER_SCL 19 // GPIO number for I2C Master clock line.
  15. #define I2C_MASTER_SDA 18 // GPIO number for I2C Master data line.
  16. #define CONFIG_TSL2561_I2C_ADDRESS 0x39
  17. #endif