Jelajahi Sumber

Removed smbus and tsl2561-subs

Thomas Chef 6 bulan lalu
induk
melakukan
6d48129e60
4 mengubah file dengan 5 tambahan dan 13 penghapusan
  1. 0 6
      .gitmodules
  2. 0 1
      components/esp32-smbus
  3. 0 1
      components/esp32-tsl2561
  4. 5 5
      main/config.h

+ 0 - 6
.gitmodules

@@ -4,9 +4,3 @@
 [submodule "components/esp32-owb"]
 	path = components/esp32-owb
 	url = https://github.com/DavidAntliff/esp32-owb.git
-[submodule "components/esp32-smbus"]
-	path = components/esp32-smbus
-	url = https://github.com/DavidAntliff/esp32-smbus.git
-[submodule "components/esp32-tsl2561"]
-	path = components/esp32-tsl2561
-	url = https://github.com/DavidAntliff/esp32-tsl2561.git

+ 0 - 1
components/esp32-smbus

@@ -1 +0,0 @@
-Subproject commit 1bca026c4fe8d28f9cb76da30da05e8a70a8231f

+ 0 - 1
components/esp32-tsl2561

@@ -1 +0,0 @@
-Subproject commit 55185696cfbd9eb91da9cb262b277d4c29bd08ee

+ 5 - 5
main/config.h

@@ -10,16 +10,16 @@
 //#define RX_TIMER_ENABLED
 //#define TRANCEIVER_ENABLED
 
-//#define WIFI_ENABLED
-//#define MQTT_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 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 ONE_WIRE_BUS_IO           GPIO_NUM_33   // Temp sensors
 
 
-#define ENABLE_LUX_SENSOR
+//#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