mirror of
https://github.com/jdillenburg/esphome.git
synced 2026-01-10 07:10:39 -07:00
matthiazzz - The current adxl345 component in ESPHome relies on multiple external Adafruit libraries (Adafruit Unified Sensor, Adafruit BusIO, Adafruit ADXL345). This causes unnecessary dependencies, compilation overhead, and sometimes incompatibilities when used with tca9548a multiplexers.
I modified the component to remove all Adafruit library dependencies and instead use a lightweight, self-contained ESPHome driver for ADXL345. After these changes, multiple ADXL345 sensors can be used in combination with a TCA9548A I²C multiplexer without conflicts.
This commit is contained in:
@@ -16,7 +16,7 @@ substitutions:
|
||||
esp32:
|
||||
board: esp32dev
|
||||
framework:
|
||||
type: arduino
|
||||
type: esp-idf
|
||||
|
||||
|
||||
# Enable logging
|
||||
@@ -265,7 +265,6 @@ cover:
|
||||
#********** LED Strip configuration **********
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
rmt_channel: 1
|
||||
id: led_strip
|
||||
chipset: WS2812
|
||||
pin: GPIO16
|
||||
|
||||
Reference in New Issue
Block a user