config.h 763 B

123456789101112131415161718192021222324252627282930
  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 4 // GPIO number for I2C Master clock line.
  15. #define I2C_MASTER_SDA 5 // GPIO number for I2C Master data line.
  16. #define I2C_MASTER_FREQUENCY 400000 // I2C master clock frequency
  17. #define CONFIG_TSL2561_I2C_ADDRESS 0x39
  18. #endif