controlling some GPIOs

Gilles Risch gilles.risch at gmail.com
Tue Apr 7 07:20:33 UTC 2015


Good morning,

I'd like to use the python-daemon library on a raspberry pi to perform
some IO tasks on the GPIOs.

I must configure the pins and create some files during the start of
the daemon. These files should be removed when I stop the daemon. Is
there a simple way do do that when I implement my daemon? Can I do
that in __init__ and __del__ or is that a bad practice?

Regards,
Gilles



More information about the python-daemon-devel mailing list