C# 클래스 TTT.Teletype.TeletypeViaAtmega

Represents a Teletype connected via the hackspaces AtMega interface that allows the Teletype to be turned on and off as well as translating messages from 9600 baud to the 110 baud required for the teletype. The Serial conversion has a limited buffer, so this class deals with that by breaking longer messages into short segments and allowing time for the buffer to be forwarded to the Teletype.
상속: ITeletype
파일 보기 프로젝트 열기: swindonmakers/TwitterToTeletype

공개 메소드들

메소드 설명
Backspace ( ) : void
Bell ( ) : void
CR ( ) : void
CRLF ( ) : void
Connect ( ITeletypeConnectPort port ) : void
Disconnect ( ) : void
EncodeBytes ( string message ) : byte[]
LF ( ) : void
Print ( byte b ) : void
Print ( string message ) : void
SwitchOff ( ) : void
SwitchOn ( ) : void
WaitForTT ( int wait ) : void

비공개 메소드들

메소드 설명
SegmentEnd ( ) : void
port_DataReceived ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void

메소드 상세

Backspace() 공개 메소드

public Backspace ( ) : void
리턴 void

Bell() 공개 메소드

public Bell ( ) : void
리턴 void

CR() 공개 메소드

public CR ( ) : void
리턴 void

CRLF() 공개 메소드

public CRLF ( ) : void
리턴 void

Connect() 공개 메소드

public Connect ( ITeletypeConnectPort port ) : void
port ITeletypeConnectPort
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

EncodeBytes() 공개 메소드

public EncodeBytes ( string message ) : byte[]
message string
리턴 byte[]

LF() 공개 메소드

public LF ( ) : void
리턴 void

Print() 공개 메소드

public Print ( byte b ) : void
b byte
리턴 void

Print() 공개 메소드

public Print ( string message ) : void
message string
리턴 void

SwitchOff() 공개 메소드

public SwitchOff ( ) : void
리턴 void

SwitchOn() 공개 메소드

public SwitchOn ( ) : void
리턴 void

WaitForTT() 공개 메소드

public WaitForTT ( int wait ) : void
wait int
리턴 void