kitesurfer1404 / WS2812FX

WS2812 FX Library for Arduino and ESP8266
MIT License
1.58k stars 344 forks source link

Syncing via frames? #254

Closed buges closed 3 years ago

buges commented 4 years ago

Hi

I Have a question (sorry if this is obvious but i've just started learning C++/Arduino)

On the master Arduino I've used the .isFrame to output the frame numbers and send them over wifi, this is working fine and i am seeing the frame numbers on the slave Arduino.

How can I use the incoming frame numbers to trigger the led strip so it stays in time with the master Arduino

Thanks

moose4lord commented 4 years ago

There's a trigger() function which forces a step to the next animation frame. See the external_trigger example sketch.

buges commented 4 years ago

Thanks