C# 클래스 TinBot.Operations.SerialOutController

파일 보기 프로젝트 열기: marcodiniz/TinBot 1 사용 예제들

공개 메소드들

메소드 설명
DataIn ( bool value ) : System.Threading.Tasks.Task
GetValue ( int index ) : bool
Latch ( ) : System.Threading.Tasks.Task
Reset ( bool value = false ) : System.Threading.Tasks.Task
SerialOutController ( RemoteDevice device, byte dataPin, byte clockPin, byte latchPin, byte numOuputs = 8 ) : System
SetValue ( int index, bool value, bool imediatlyWriteOutputs = true ) : System.Threading.Tasks.Task
WriteAllToOutputs ( ) : System.Threading.Tasks.Task

메소드 상세

DataIn() 공개 메소드

public DataIn ( bool value ) : System.Threading.Tasks.Task
value bool
리턴 System.Threading.Tasks.Task

GetValue() 공개 메소드

public GetValue ( int index ) : bool
index int
리턴 bool

Latch() 공개 메소드

public Latch ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

Reset() 공개 메소드

public Reset ( bool value = false ) : System.Threading.Tasks.Task
value bool
리턴 System.Threading.Tasks.Task

SerialOutController() 공개 메소드

public SerialOutController ( RemoteDevice device, byte dataPin, byte clockPin, byte latchPin, byte numOuputs = 8 ) : System
device RemoteDevice
dataPin byte
clockPin byte
latchPin byte
numOuputs byte
리턴 System

SetValue() 공개 메소드

public SetValue ( int index, bool value, bool imediatlyWriteOutputs = true ) : System.Threading.Tasks.Task
index int
value bool
imediatlyWriteOutputs bool
리턴 System.Threading.Tasks.Task

WriteAllToOutputs() 공개 메소드

public WriteAllToOutputs ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task