Main Site Documentation

Reuse pin


#1

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?


#2

Gadgeteer or normal NetMF?


#3

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


#4

NETMF EMX Module


#5

With Gadgeteer you can’t release a pin.

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


#6

I will try it quickly and reply with outcome.