mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 23:48:11 +01:00
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.
This commit is contained in:
parent
0148ebcaa6
commit
387a92ca14
1 changed files with 0 additions and 1 deletions
|
@ -144,7 +144,6 @@ void SM2135::sm2135_set_low_(GPIOPin *pin) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void SM2135::sm2135_set_high_(GPIOPin *pin) {
|
void SM2135::sm2135_set_high_(GPIOPin *pin) {
|
||||||
pin->digital_write(true);
|
|
||||||
pin->pin_mode(gpio::FLAG_PULLUP);
|
pin->pin_mode(gpio::FLAG_PULLUP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue