Package | Description |
---|---|
com.pi4j.io.serial | |
com.pi4j.io.serial.impl |
Modifier and Type | Method and Description |
---|---|
SerialConfig |
SerialConfig.baud(Baud baud) |
SerialConfig |
SerialConfig.dataBits(DataBits dataBits) |
SerialConfig |
SerialConfig.dataBits(StopBits stopBits) |
SerialConfig |
SerialConfig.device(String device) |
SerialConfig |
SerialConfig.flowControl(FlowControl flowControl) |
SerialConfig |
SerialConfig.parity(Parity parity) |
Modifier and Type | Method and Description |
---|---|
void |
Serial.open(SerialConfig serialConfig)
This opens and initializes the serial port/device and sets the communication parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
SerialImpl.open(SerialConfig serialConfig)
This opens and initializes the serial port/device and sets the communication parameters.
|
Copyright © 2012–2015 Pi4J. All rights reserved.