Share via


Port.Read Method

Reads a Boolean value at the port input.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

[MethodImplAttribute]
public bool Read ()

Return Value

The current value of the port (either 0 or 1).

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Port Class
Port Members
Microsoft.SPOT.Hardware Namespace