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
Switch input and output on same pin
Started by sharethl, Nov 21 2012 02:37 AM
2 replies to this topic
#1
Posted 21 November 2012 - 02:37 AM
#2
Posted 21 November 2012 - 02:53 AM
Sharethl,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
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
- Paul Newton likes this
#3
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
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users