C# Class TinBot.Helpers.FirmataHelpers

Afficher le fichier Open project: marcodiniz/TinBot

Méthodes publiques

Свойство Type Description
_lock object

Méthodes publiques

Méthode 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

Method Details

AnalogWriteAwaitable() public static méthode

public static AnalogWriteAwaitable ( this device, byte port, ushort value, int releaseTime = 1 ) : Task
device this
port byte
value ushort
releaseTime int
Résultat Task

DigitalPulseAwaitable() public static méthode

public static DigitalPulseAwaitable ( this device, byte port, int duration = 1 ) : Task
device this
port byte
duration int
Résultat Task

DigitalWriteAwaitable() public static méthode

public static DigitalWriteAwaitable ( this device, byte port, bool value, int releaseTime = 1 ) : Task
device this
port byte
value bool
releaseTime int
Résultat Task

SafePinMode() public static méthode

public static SafePinMode ( this device, byte pin, PinMode pinMode ) : void
device this
pin byte
pinMode PinMode
Résultat void

SafePinMode() public static méthode

public static SafePinMode ( this device, string pin, PinMode pinMode ) : void
device this
pin string
pinMode PinMode
Résultat void

ToPinState() public static méthode

public static ToPinState ( this value ) : PinState
value this
Résultat PinState

Property Details

_lock public_oe static_oe property

public static object _lock
Résultat object