Package | Description |
---|---|
edu.wpi.first.wpilibj |
The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC
control system and your robot.
|
Modifier and Type | Field and Description |
---|---|
static SerialPort.Parity |
SerialPort.Parity.kEven
parity: Use even parity
|
static SerialPort.Parity |
SerialPort.Parity.kMark
parity: Use mark parity
|
static SerialPort.Parity |
SerialPort.Parity.kNone
parity: Use no parity
|
static SerialPort.Parity |
SerialPort.Parity.kOdd
parity: Use odd parity
|
static SerialPort.Parity |
SerialPort.Parity.kSpace
parity: Use space parity
|
Constructor and Description |
---|
SerialPort(int baudRate,
SerialPort.Port port,
int dataBits,
SerialPort.Parity parity)
Create an instance of a Serial Port class.
|
SerialPort(int baudRate,
SerialPort.Port port,
int dataBits,
SerialPort.Parity parity,
SerialPort.StopBits stopBits)
Create an instance of a Serial Port class.
|
Copyright © 2015. All rights reserved.