mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[hal,wpilib] Rename I2C constants to all caps
This commit is contained in:
@@ -14,7 +14,7 @@ class MyRobot(wpilib.TimedRobot):
|
||||
code using the roboRIO's I2C port.
|
||||
"""
|
||||
|
||||
PORT = wpilib.I2C.Port.kPort0
|
||||
PORT = wpilib.I2C.Port.PORT_0
|
||||
DEVICE_ADDRESS = 4
|
||||
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user