Package | Description |
---|---|
edu.wpi.first.wpilibj |
The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC
control system and your robot.
|
edu.wpi.first.wpilibj.interfaces |
Modifier and Type | Method and Description |
---|---|
void |
ADXL345_SPI.setRange(Accelerometer.Range range)
{inheritdoc}
|
void |
ADXL345_I2C.setRange(Accelerometer.Range range)
{inheritdoc}
|
void |
BuiltInAccelerometer.setRange(Accelerometer.Range range)
{inheritdoc}
|
Constructor and Description |
---|
ADXL345_I2C(I2C.Port port,
Accelerometer.Range range)
Constructor.
|
ADXL345_SPI(SPI.Port port,
Accelerometer.Range range)
Constructor.
|
BuiltInAccelerometer(Accelerometer.Range range)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static Accelerometer.Range |
Accelerometer.Range.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Accelerometer.Range[] |
Accelerometer.Range.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Accelerometer.setRange(Accelerometer.Range range)
Common interface for setting the measuring range of an accelerometer.
|
Copyright © 2015. All rights reserved.