nRF51_SDK_10.0.0\examples\ant\ant_plus\ant_bsc\bsc_tx\combined\button\pca10028
ANT BSC Speed event time not change After a period of work although button press or release
nRF51_SDK_10.0.0\examples\ant\ant_plus\ant_bsc\bsc_tx\combined\button\pca10028
ANT BSC Speed event time not change After a period of work although button press or release
Have you tried nRF5 SDKv12.3, since that is the last supported SDK for the nRF51-series.
Best regards,
Kenneth
i use 51422,sdk12.3 have no 51422 project,so i use sdk10
i want to know where change the Speed event time? i think it from softdevice
This should be handled by the following code:
#if MODIFICATION_TYPE == MODIFICATION_TYPE_BUTTON
/**@brief Function for handling bsp events.
*/
/** @snippet [ANT BSC simulator button] */
void bsp_evt_handler(bsp_event_t evt)
{
switch (evt)
{
case BSP_EVENT_KEY_0:
ant_bsc_simulator_increment(&m_ant_bsc_simulator);
break;
case BSP_EVENT_KEY_1:
ant_bsc_simulator_decrement(&m_ant_bsc_simulator);
break;
default:
return; // no implementation needed
}
}1.this change Speed Revolution count,no change Speed event time。