mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
[hal,wpilib] Add support for second I2C port (#7878)
This commit is contained in:
@@ -23,10 +23,10 @@ class I2C {
|
||||
* I2C connection ports.
|
||||
*/
|
||||
enum Port {
|
||||
/// Onboard I2C port.
|
||||
kOnboard = 0,
|
||||
/// MXP (roboRIO MXP) I2C port.
|
||||
kMXP
|
||||
/// I2C Port 0.
|
||||
kPort0 = 0,
|
||||
/// I2C Port 1.
|
||||
kPort1
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user