C# 클래스 TinBot.Helpers.FirmataHelpers

파일 보기 프로젝트 열기: marcodiniz/TinBot

공개 프로퍼티들

프로퍼티 타입 설명
_lock object

공개 메소드들

메소드 설명
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

메소드 상세

AnalogWriteAwaitable() 공개 정적인 메소드

public static AnalogWriteAwaitable ( this device, byte port, ushort value, int releaseTime = 1 ) : Task
device this
port byte
value ushort
releaseTime int
리턴 Task

DigitalPulseAwaitable() 공개 정적인 메소드

public static DigitalPulseAwaitable ( this device, byte port, int duration = 1 ) : Task
device this
port byte
duration int
리턴 Task

DigitalWriteAwaitable() 공개 정적인 메소드

public static DigitalWriteAwaitable ( this device, byte port, bool value, int releaseTime = 1 ) : Task
device this
port byte
value bool
releaseTime int
리턴 Task

SafePinMode() 공개 정적인 메소드

public static SafePinMode ( this device, byte pin, PinMode pinMode ) : void
device this
pin byte
pinMode PinMode
리턴 void

SafePinMode() 공개 정적인 메소드

public static SafePinMode ( this device, string pin, PinMode pinMode ) : void
device this
pin string
pinMode PinMode
리턴 void

ToPinState() 공개 정적인 메소드

public static ToPinState ( this value ) : PinState
value this
리턴 PinState

프로퍼티 상세

_lock 공개적으로 정적으로 프로퍼티

public static object _lock
리턴 object