Toolbox.NETMF.Hardware.ITRIPort


This is a generic interface used by multiplex classes in the .NETMF Toolbox.
It's a combination of the IGPIPort and IGPOPort

Methods

  • Write(State) Writes the value, true for high, false for low.
  • Read() Returns the current value, true for high, false for low.
  • Dispose() Releases the SPI pins (when using the bitbang constructor)

Property

  • State Returns the last written state
  • InvertReadings When true, this.Read() is inverted

Sample code in C#

// Todo

Sample code in VB

' Todo

Last edited Jul 15, 2012 at 7:50 PM by Garrcomm, version 1