Netduino home hardware projects downloads community

Jump to content


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

Switch input and output on same pin


  • Please log in to reply
2 replies to this topic

#1 sharethl

sharethl

    Member

  • Members
  • PipPip
  • 10 posts
  • LocationNewark, DE

Posted 21 November 2012 - 02:37 AM

I need to make a custom SCCB interface, it requires change data pin's mode, input for reading, and output for writing, How can I do that in C#? Since NETMF only has one mode for a pin. "OutputPort led = new OutputPort(Pins.ONBOARD_LED, false);" Thanks

#2 carb

carb

    Advanced Member

  • Members
  • PipPipPip
  • 352 posts
  • LocationCrystal River, Florida

Posted 21 November 2012 - 02:53 AM

I need to make a custom SCCB interface,
it requires change data pin's mode, input for reading, and output for writing,
How can I do that in C#?
Since NETMF only has one mode for a pin.

"OutputPort led = new OutputPort(Pins.ONBOARD_LED, false);"

Thanks

Sharethl,

Try searching for Tristate on the forum. Tristateport.

I have not used them before but I think that it what you may be looking for.

Chuck

#3 sharethl

sharethl

    Member

  • Members
  • PipPip
  • 10 posts
  • LocationNewark, DE

Posted 21 November 2012 - 02:36 PM

That looks perfect fits, thanks, carb!

Sharethl,

Try searching for Tristate on the forum. Tristateport.

I have not used them before but I think that it what you may be looking for.

Chuck






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

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.