共用方式為


Seesaw.AnalogRead(Byte) 方法

定義

讀取類比針腳的值。

public ushort AnalogRead (byte pin);
member this.AnalogRead : byte -> uint16
Public Function AnalogRead (pin As Byte) As UShort

參數

pin
Byte

裝置編號配置中的針腳編號。

傳回

介於 0..1023 之間的值,表示類比值。

適用於