次の方法で共有


ArduinoBoard.SetSystemVariable メソッド

定義

オーバーロード

SetSystemVariable(SystemVariable, Int32)

指定されたシステム変数を更新します。

SetSystemVariable(SystemVariable, Int32, Int32)

指定されたシステム変数を更新します。

SetSystemVariable(SystemVariable, Int32)

指定されたシステム変数を更新します。

public bool SetSystemVariable(Iot.Device.Arduino.SystemVariable variableId, int value);
member this.SetSystemVariable : Iot.Device.Arduino.SystemVariable * int -> bool
Public Function SetSystemVariable (variableId As SystemVariable, value As Integer) As Boolean

パラメーター

variableId
SystemVariable

更新する変数

value
Int32

新しい値

戻り値

成功した場合は True、それ以外の場合は false (ログ出力チェック)

例外

通信エラーが発生しました

適用対象

SetSystemVariable(SystemVariable, Int32, Int32)

指定されたシステム変数を更新します。

public bool SetSystemVariable(Iot.Device.Arduino.SystemVariable variableId, int pinNumber, int value);
member this.SetSystemVariable : Iot.Device.Arduino.SystemVariable * int * int -> bool
Public Function SetSystemVariable (variableId As SystemVariable, pinNumber As Integer, value As Integer) As Boolean

パラメーター

variableId
SystemVariable

更新する変数

pinNumber
Int32

使用するピン番号、または関連しない場合は -1

value
Int32

新しい値

戻り値

成功した場合は True、それ以外の場合は false (ログ出力チェック)

例外

通信エラーが発生しました

適用対象