![]() |
nRF5 SDK
v13.1.0
|
Choose documentation: | nRF5 SDK | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
Important: Before you run this example, make sure to program the SoftDevice.
The ANT I/O example was designed to showcase basic bidirectional communication between two nodes that are using ANT, with the LEDs on one node displaying the state of the buttons pressed on the other node. You can use this demo with either one development board and one ANT USB stick connected to the PC application ANTware or with two development boards.
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\ant\ant_io_demo\ant_io_tx
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\ant\ant_io_demo\ant_io_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 ANT stack configuration.
You can test the ANT I/O example in the following ways:
<InstallFolder>\examples\ant\ant_io_demo\ant_io_tx\ant_io_tx_test.xml
. Alternatively, you can configure the device channel manually:TX Buffer Value | Description |
---|---|
01-00-00-00-00-00-00-FE | Turns on BSP_LED_0 on the board. |
01-00-00-00-00-00-00-FD | Turns on BSP_LED_1 on the board. |
01-00-00-00-00-00-00-FB | Turns on BSP_LED_2 on the board. |
01-00-00-00-00-00-00-F7 | Turns on BSP_LED_3 on the board. |