Bernd Porr
Bernd Porr
@adrianmiriuta that works for me without any problems: https://github.com/berndporr/alphabot/blob/main/alphabot.cpp#L15 I suspect that your gpioInitialise fails for other reasons not related to signals. However, I agree that managing all signals should...
Here is my suggestion to get rid of the exit(-1) issue: Instead of setting all signal handlers here in a loop: https://github.com/joan2937/pigpio/blob/master/pigpio.c#L5646 they could be just set when the callback...
Should add that if the user provides NULL for the callback it can be set back to `signal(signo, SIG_IGN);`.
I see where you are coming from in terms of demon and C level. I think it would be good to talk to the author of pigpio and at least...
That was before I asked here how to disable signal handling. It works well now. https://github.com/berndporr/alphabot/blob/main/alphabot.cpp#L15 It's rather for other C coders who use signals in their code and then...
I could create a pull request which gets rid of the exit(-1) and only registers the signal handlers which are actually in use. Initially only the ones which deal with...
I see the point that the DMA needs to be stopped at program failure as it's quite a scary mechanism. I agree. I guess that makes a case for catching...
Works well with Python 3.6
I think you are the 1st who tried it with two Arduinos. As you say it should work as they are totally separate in their instances. I can only guess...
It would be nice to find the bug and send me a pull request. :)