Synchronizing an LED array with a motor