Important: Before you run this example, make sure to program the SoftDevice.
The ANT Time Synchronization example is designed to showcase the capability of ANT to precisely synchronize events between multiple devices, in this case LEDs flashing in unison across multiple devices. The ANT protocol will time-correct a 2-byte clock message for when it is actually transmitted by the stack, allowing the receiving nodes to synchronize their own clock or counter, in order to align with the transmitter.
This example can be used with two or more development boards. Multiple slave endpoints can synchronize to the same master endpoint for a larger demonstration.
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\ant\ant_time_synchronization\tx
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\ant\ant_time_synchronization\rx
Note: You can use a custom channel or encryption when running any of the ANT examples. When adding a new channel or encryption, remember to update SoftDevice ANT event handler configuration.