Package | Description |
---|---|
com.pi4j.io.serial | |
com.pi4j.io.serial.impl |
Modifier and Type | Method and Description |
---|---|
static Parity |
Parity.getInstance(String parity) |
Parity |
SerialConfig.parity() |
static Parity |
Parity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parity[] |
Parity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Serial.open(String device,
Baud baud,
DataBits dataBits,
Parity parity,
StopBits stopBits,
FlowControl flowControl)
This opens and initializes the serial port/device and sets the communication parameters.
|
SerialConfig |
SerialConfig.parity(Parity parity) |
Modifier and Type | Method and Description |
---|---|
void |
SerialImpl.open(String device,
Baud baud,
DataBits dataBits,
Parity parity,
StopBits stopBits,
FlowControl flowControl)
This opens and initializes the serial port/device and sets the communication parameters.
|
Copyright © 2012–2019 Pi4J. All rights reserved.