Property | Type | Description | |
---|---|---|---|
_lock | object |
Method | Description | |
---|---|---|
AnalogWriteAwaitable ( this device, byte port, ushort value, int releaseTime = 1 ) : Task | ||
DigitalPulseAwaitable ( this device, byte port, int duration = 1 ) : Task | ||
DigitalWriteAwaitable ( this device, byte port, bool value, int releaseTime = 1 ) : Task | ||
SafePinMode ( this device, byte pin, PinMode pinMode ) : void | ||
SafePinMode ( this device, string pin, PinMode pinMode ) : void | ||
ToPinState ( this value ) : PinState |
public static AnalogWriteAwaitable ( this device, byte port, ushort value, int releaseTime = 1 ) : Task | ||
device | this | |
port | byte | |
value | ushort | |
releaseTime | int | |
return | Task |
public static DigitalPulseAwaitable ( this device, byte port, int duration = 1 ) : Task | ||
device | this | |
port | byte | |
duration | int | |
return | Task |
public static DigitalWriteAwaitable ( this device, byte port, bool value, int releaseTime = 1 ) : Task | ||
device | this | |
port | byte | |
value | bool | |
releaseTime | int | |
return | Task |
public static SafePinMode ( this device, byte pin, PinMode pinMode ) : void | ||
device | this | |
pin | byte | |
pinMode | PinMode | |
return | void |
public static SafePinMode ( this device, string pin, PinMode pinMode ) : void | ||
device | this | |
pin | string | |
pinMode | PinMode | |
return | void |
public static ToPinState ( this value ) : PinState | ||
value | this | |
return | PinState |