Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.


Member Since 04 Jun 2012
Offline Last Active Feb 22 2013 09:53 PM

Posts I've Made

In Topic: Assgining the same IO pin to multiple instances?

04 June 2012 - 03:10 PM

Hi Uberhund and welcome to the forums.

The .NET Micro Framework makes it impossible to assign a pin twice, to prevent some issues. Also, the garbage collector doesn't free up the pins.
Therefor you can use the Dispose() method on the OutputPort class.

You could also make the ledOnBoard static, or a global member of your class. I have the feeling that's what you want to do.

Thanks for the welcome and excellent response, Stefan. Many thanks.

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.