Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 4 months ago.
How can you detach a pin?
I am trying to detach pins from attach_asserted/attach_asserted_held. Is there a way other than attaching the input to a do-nothing function?
Thanks
Question relating to:
1 Answer
9 years, 4 months ago.
You have it almost correct, call attach again but instead of using a do nothing function give it a null pointer.