When using the Serial library you can use the following port characteristics parameters as part of the start remote syntax.
Parameter |
Tells ESL to ... |
Flow Control: |
|
tandem (default) |
Send and obey flow control |
-tandem (default) |
Do not send or obey flow control |
Parity: |
|
nopar |
Do not receive or transmit parity |
evenpar (default) |
Generate even parity |
oddpar |
Generate odd parity |
markpar |
Generate mark parity (parity bit = 1) |
spacepar |
Generate space parity (parity bit = 0) |
Databits: |
|
databits 7 |
Generate 7 bits per character (this is the default, if parity is anything except nopar) |
databits 8
|
Generate 8 bits per character (this is the default, if parity is nopar) |
Stopbits: |
|
stopbits 1 (default) |
Generate one stop bit per character |
stopbits 2 |
Generate two stop bits per character |