public class I2C
extends java.lang.Object
Constructor and Description |
---|
I2C(edu.wpi.first.wpilibj.I2C.Port port,
int i) |
Modifier and Type | Method and Description |
---|---|
edu.wpi.first.wpilibj.I2C |
getWPII2C()
Gets the WPILib I2C object.
|
void |
sendBytes(byte... bytes)
Sends bytes over I2C.
|
void |
sendString(java.lang.String s)
Sends a String over I2C.
|
public void sendString(java.lang.String s)
s
- The String to be sent.public void sendBytes(byte... bytes)
bytes
- The bytes to be sent.public edu.wpi.first.wpilibj.I2C getWPII2C()