This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ANT+ pre-event timing

Hi,

I have a simple question. How should I handle situation, when need to collect data and process them before the computed data are sended via ANT+ profile which runs on 4Hz update rate? I had an idea to use repeated timer, but it is not possible, because for example when I set timer interval to 240ms to have 10ms for data processing before they are sended, the gap between data processing is getting bigger in time. Acceptable would be if the data processing would be handled 10-20ms before ANT+ data send event every time. So please, any suggestion, what should I do?

thanks,

Pepam

Parents Reply Children
Related