This module simulates heart rate values for the Heart Rate Moniter Transmitter example. The API for this module is available here: ANT pulse simulator
The module uses the Sensor Data Simulator to simulate automatic changes of heart rate values. In addition, the module uses the Board Support Package (BSP) to indicate states using the board's LEDs.
Initialization
Use the following command to initialize the module:
If you want to be able to change the heart rate manually, add the following statement:
Including the module in an application
Periodically call the pulse simulator in the application to prepare data for each TX event occurrence. The following code example shows how to do this: