I need to setup a timer that will call a function that will execute integration, need to use like measuring battery capacity, function will integrate measured value*dt
The function to be called automaticaly, not by main();
For this please let me know if i need to add timer library, give me an example please.
Thanks sofar!