Merge pull request #5184 from gsimon75/sm16716_init_delay

Init delay of SM16716 increased to 1 ms
This commit is contained in:
Theo Arends 2019-02-10 10:11:14 +01:00 committed by GitHub
commit 1bd3bcc9be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ void SM16716_Update(uint8_t duty_r, uint8_t duty_g, uint8_t duty_b)
digitalWrite(sm16716_pin_sel, HIGH);
// in testing I found it takes a minimum of ~380us to wake up the chip
// tested on a Merkury RGBW with an SM726EB
delayMicroseconds(400);
delayMicroseconds(1000);
SM16716_Init();
}
else if (sm16716_enabled && !sm16716_should_enable) {