mirror of https://github.com/arendst/Tasmota.git
Init delay of SM16716 increased to 1 ms
As per measurements by @damondins: https://github.com/gsimon75/Sonoff-Tasmota/pull/3#issuecomment-462059310
This commit is contained in:
parent
e18263d796
commit
2d892f64cd
|
@ -410,7 +410,7 @@ void SM16716_Update(uint8_t duty_r, uint8_t duty_g, uint8_t duty_b)
|
||||||
digitalWrite(sm16716_pin_sel, HIGH);
|
digitalWrite(sm16716_pin_sel, HIGH);
|
||||||
// in testing I found it takes a minimum of ~380us to wake up the chip
|
// in testing I found it takes a minimum of ~380us to wake up the chip
|
||||||
// tested on a Merkury RGBW with an SM726EB
|
// tested on a Merkury RGBW with an SM726EB
|
||||||
delayMicroseconds(400);
|
delayMicroseconds(1000);
|
||||||
SM16716_Init();
|
SM16716_Init();
|
||||||
}
|
}
|
||||||
else if (sm16716_enabled && !sm16716_should_enable) {
|
else if (sm16716_enabled && !sm16716_should_enable) {
|
||||||
|
|
Loading…
Reference in New Issue