From 387a92ca143e839bdee9fb9943d2bfc8c18599a4 Mon Sep 17 00:00:00 2001 From: matika77 Date: Thu, 4 Apr 2024 21:02:13 +0200 Subject: [PATCH] Update sm2135.cpp / fixed lights flickering fixed sm2135_set_high_ which caused flicker while color changes. the pin was set to mode output and high (strong drive) before going to open drain / pull up. this caused transmission errors. --- esphome/components/sm2135/sm2135.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/esphome/components/sm2135/sm2135.cpp b/esphome/components/sm2135/sm2135.cpp index 9a576859ac..e586ca2168 100644 --- a/esphome/components/sm2135/sm2135.cpp +++ b/esphome/components/sm2135/sm2135.cpp @@ -144,7 +144,6 @@ void SM2135::sm2135_set_low_(GPIOPin *pin) { } void SM2135::sm2135_set_high_(GPIOPin *pin) { - pin->digital_write(true); pin->pin_mode(gpio::FLAG_PULLUP); }