com.qualcomm.robotcore.hardware

## Interface VoltageSensor

- All Superinterfaces:
    HardwareDevice

      public interface VoltageSensor
      extends HardwareDevice

  Voltage Sensor

- - ### 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` | `getVoltage()` Get the current voltage

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

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

- - ### Method Detail

    - #### getVoltage

          double getVoltage()

      Get the current voltage
      Returns:
        voltage