123456789101112131415161718192021222324252627282930 |
- #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 RX_TIMER_ENABLED
- //#define TRANCEIVER_ENABLED
- //#define WIFI_ENABLED
- //#define MQTT_ENABLED
- #define ENABLE_DS18B20
- #define MQTT_DEBUG // Add an extra debug string to the beginning of the topic-string
- #define ONE_WIRE_BUS_IO GPIO_NUM_26 // Temp sensors
- #define ENABLE_LUX_SENSOR
- #define I2C_MASTER_SCL 4 // GPIO number for I2C Master clock line.
- #define I2C_MASTER_SDA 5 // GPIO number for I2C Master data line.
- #define I2C_MASTER_FREQUENCY 400000 // I2C master clock frequency
- #define CONFIG_TSL2561_I2C_ADDRESS 0x39
- #endif
|