[hal,wpilib] Add support for second I2C port (#7878)

This commit is contained in:
Thad House
2025-04-28 08:29:01 -07:00
committed by GitHub
parent 85a8fc9943
commit 08297430b5
9 changed files with 54 additions and 43 deletions

View File

@@ -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
};
/**