1234567891011121314151617181920212223242526272829 |
- #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_33 // Temp sensors
- #define ENABLE_LUX_SENSOR
- #define I2C_MASTER_SCL 19 // GPIO number for I2C Master clock line.
- #define I2C_MASTER_SDA 18 // GPIO number for I2C Master data line.
- #define CONFIG_TSL2561_I2C_ADDRESS 0x39
- #endif
|