Hi,
I have 2 uno board and program them to some effects. After run them at a same time,after a while (about 30 secends) missed coordination!
what is my problem from?
Thanks.
Regards
AliReza
Hi,
I have 2 uno board and program them to some effects. After run them at a same time,after a while (about 30 secends) missed coordination!
what is my problem from?
Thanks.
Regards
AliReza
Your two boards have different clock rates… unless you synchronize the start of both displays (master triggers slave) the timming error is accumulated and will lose sync
Two things compounding - one is that the clocks on these devices aren’t terribly accurate and are prone to drifting. The other is that they use interrupts to drive the clock, and interrupts are disabled when writing out ws2812 style leds - FastLED attempts to adjust the time accordingly to compensate, but it’s very approximate (still better than losing a few dozen milliseconds every tome show is called).
If you need time sync between two devices you will either need to use Real Time Clocks attached to each to keep time accurate, or use some mechanism to sync (eg have the unos delay calling FastLED.show until each of them have raised a pin high)