edu.wpi.first.wpilibj.hal

## Class AccelerometerJNI

- java.lang.Object
- - edu.wpi.first.wpilibj.hal.JNIWrapper
  - - edu.wpi.first.wpilibj.hal.AccelerometerJNI

-     public class AccelerometerJNI
      extends JNIWrapper

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AccelerometerJNI()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static double` | `getAccelerometerX()`
    `static double` | `getAccelerometerY()`
    `static double` | `getAccelerometerZ()`
    `static void` | `setAccelerometerActive(boolean active)`
    `static void` | `setAccelerometerRange(int range)`

    - ### Methods inherited from class edu.wpi.first.wpilibj.hal.JNIWrapper

      `getPort, getPortWithModule`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AccelerometerJNI

          public AccelerometerJNI()

  - ### Method Detail

    - #### setAccelerometerActive

          public static void setAccelerometerActive(boolean active)

    - #### setAccelerometerRange

          public static void setAccelerometerRange(int range)

    - #### getAccelerometerX

          public static double getAccelerometerX()

    - #### getAccelerometerY

          public static double getAccelerometerY()

    - #### getAccelerometerZ

          public static double getAccelerometerZ()