Main Site Documentation

Reuse pin


I have a pin that I set as an PWM output. I however want to use it later as a normal OutputPort. How do I release the pin for reuse?


Gadgeteer or normal NetMF?


Disposing of the managed object that uses the pin usually releases it.




With Gadgeteer you can’t release a pin.

With NETMF you just call the Dispose method of the PWM object, as Architect said.


I will try it quickly and reply with outcome.