Package | Description |
---|---|
com.pi4j.io.serial | |
com.pi4j.io.serial.impl |
Modifier and Type | Method and Description |
---|---|
static StopBits |
StopBits.getInstance(int stop_bits) |
StopBits |
SerialConfig.stopBits() |
static StopBits |
StopBits.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StopBits[] |
StopBits.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.stopBits(StopBits stopBits) |
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–2021 Pi4J. All rights reserved.