I am using pigpio module to control 12 GPIO pins of the Raspberry pi. WHich includes PWM reading, software PWM etc. I couldn't find a method to clean up the pin at the end of the program. Isn't it available in pigpio? any other suggestions please.


1 Answer 1


pigpio makes no assumptions about what state the GPIO are intended to be in at the end of a program.

It is up to the programmer to decide if they should be read, write, set as SPI, PWM etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.