프로퍼티 | 타입 | 설명 | |
---|---|---|---|
EnableDebugInfos | bool | ||
NotifyData | bool | ||
NotifyLines | bool | ||
NotifyValues | bool | ||
RememberLines | int | ||
SkipFirstLine | bool | ||
ValuesSeparator | char |
메소드 | 설명 | |
---|---|---|
ClearReceivedBytes ( ) : void |
Clears the received bytes. Warning: This prevents line detection and notification. To be used when no \n is expected to avoid keeping unnecessary big amount of data in memory You should normally not call this function if \n are expected.
|
|
GetLastLine ( bool keepLines = false ) : string | ||
GetLines ( bool keepLines = false ) : List |
||
OnApplicationQuit ( ) : void | ||
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
OnGUI ( ) : void | ||
OnValidate ( ) : void | ||
ReadSerialLoop ( ) : IEnumerator | ||
ReadSerialLoopWin ( ) : IEnumerator | ||
SimulateDataReceptionLn ( float data ) : void |
Act as if the serial port has received data followed by a new line.
|
|
SimulateDataReceptionLn ( string data ) : void |
Act as if the serial port has received data followed by a new line.
|
|
Start ( ) : void | ||
Update ( ) : void | ||
Write ( string message ) : void |
Send data to the serial port.
|
|
WriteLn ( string message = "" ) : void |
Send data to the serial port and append a new line character (\n)
|
|
checkOpen ( int portSpeed = 9600 ) : bool |
Verify if the serial port is opened and opens it if necessary
|
메소드 | 설명 | |
---|---|---|
receivedData ( string data ) : void |
메소드 | 설명 | |
---|---|---|
GetPortName ( ) : string |
public GetLastLine ( bool keepLines = false ) : string | ||
keepLines | bool | |
리턴 | string |
public SimulateDataReceptionLn ( float data ) : void | ||
data | float | |
리턴 | void |
public SimulateDataReceptionLn ( string data ) : void | ||
data | string | |
리턴 | void |
public static checkOpen ( int portSpeed = 9600 ) : bool | ||
portSpeed | int | Port speed. |
리턴 | bool |