[wpilib] Rename ADXL345_I2C constants to all caps

This commit is contained in:
Peter Johnson
2026-03-20 20:35:13 -07:00
parent ea32c247db
commit f2929af00f
7 changed files with 145 additions and 156 deletions

View File

@@ -14,7 +14,7 @@ import org.wpilib.hardware.bus.I2C;
*/
public class Robot extends TimedRobot {
// Creates an ADXL345 accelerometer object with a measurement range from -8 to 8 G's
ADXL345_I2C m_accelerometer345I2C = new ADXL345_I2C(I2C.Port.PORT_0, ADXL345_I2C.Range.k8G);
ADXL345_I2C m_accelerometer345I2C = new ADXL345_I2C(I2C.Port.PORT_0, 8);
/** Called once at the beginning of the robot program. */
public Robot() {}