I have a small program that should run on a small embedded Linux system (ARM). It is written in C. It must interrogate some data (2x64-bit) from the API provided by the system manufacturer, and then perform some calculations and send the data through the network. Data should be polled approximately 30 times per second (30 Hz).
What would be the best way to do this in C? I have seen solutions using sleep(), but this is not the best option to work.
source
share