GpioPin.Read 方法

定义

读取常规用途 I/O (GPIO) 引脚的当前值。

public:
 virtual GpioPinValue Read() = Read;
GpioPinValue Read();
public GpioPinValue Read();
function read()
Public Function Read () As GpioPinValue

返回

GPIO 引脚的当前值。 如果引脚配置为输出,则此值是写入引脚的最后一个值。

Windows 要求

应用功能
lowLevel

适用于

另请参阅