When still using the pigpio API "directly", I made extensive use of the gpioSetTimerFunc function, just like this:
gpioSetTimerFunc (4, 500, OnRDSDataTimerElapsed);
After making pigpiod do all the GPIO-related work, I have to replace all pigpio calls with pigpiod ones. However, I can't find a viable replacement for the timed callback in the pigpiod API.
Can anybody plase give me a hint? Thank you.
TimerTaskclass, which does almost exactly the same as yourgpioSetTimerFunc, but I had to write a wrapper for it. See here: https://stackoverflow.com/questions/52132421/how-can-i-use-a-static-c-method-as-a-callback-for-a-poco-timer – Neppomuk Nov 23 '18 at 15:48