com.qualcomm.robotcore.hardware

## Interface AnalogInputController

- All Superinterfaces:
    HardwareDevice
  All Known Subinterfaces:
    DeviceInterfaceModule

      public interface AnalogInputController
      extends HardwareDevice

  Interface for working with Analog Controllers

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.qualcomm.robotcore.hardware.HardwareDevice

      `HardwareDevice.Manufacturer`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `getAnalogInputVoltage(int channel)` Get the value of this analog input Return the current ADC results from the A0-A7 channel input pins.
    `double` | `getMaxAnalogInputVoltage()` Returns the maximum value that getAnalogInputVoltage() is capable of reading
    `SerialNumber` | `getSerialNumber()` Serial Number

    - ### Methods inherited from interface com.qualcomm.robotcore.hardware.HardwareDevice

      `close, getConnectionInfo, getDeviceName, getManufacturer, getVersion, resetDeviceConfigurationForOpMode`

- - ### Method Detail

    - #### getAnalogInputVoltage

          double getAnalogInputVoltage(int channel)

      Get the value of this analog input Return the current ADC results from the A0-A7 channel input pins.
      Parameters:
        `channel` - which analog channel to read
      Returns:
        the current voltage in volts

    - #### getMaxAnalogInputVoltage

          double getMaxAnalogInputVoltage()

      Returns the maximum value that getAnalogInputVoltage() is capable of reading
      Returns:
        the maximum value that getAnalogInputVoltage() is capable of reading, in volts.
      See Also:
        `getAnalogInputVoltage(int)`

    - #### getSerialNumber

          SerialNumber getSerialNumber()

      Serial Number
      Returns:
        return the USB serial number of this device