diff --git a/hal/lib/Athena/Analog.cpp b/hal/lib/Athena/Analog.cpp index 7bf5e00724..f472caeddc 100644 --- a/hal/lib/Athena/Analog.cpp +++ b/hal/lib/Athena/Analog.cpp @@ -283,7 +283,7 @@ uint32_t getAnalogOversampleBits(void* analog_port_pointer, int32_t *status) { /** * Get a sample straight from the channel on this module. * - * The sample is a 12-bit value representing the -10V to 10V range of the A/D converter in the module. + * The sample is a 12-bit value representing the 0V to 5V range of the A/D converter in the module. * The units are in A/D converter codes. Use GetVoltage() to get the analog value in calibrated units. * * @param analog_port_pointer Pointer to the analog port to use. diff --git a/wpilibc/wpilibC++/lib/AnalogInput.cpp b/wpilibc/wpilibC++/lib/AnalogInput.cpp index fe4d3807d5..800dc78582 100644 --- a/wpilibc/wpilibC++/lib/AnalogInput.cpp +++ b/wpilibc/wpilibC++/lib/AnalogInput.cpp @@ -70,7 +70,7 @@ AnalogInput::~AnalogInput() /** * Get a sample straight from this channel. - * The sample is a 12-bit value representing the -10V to 10V range of the A/D converter in the module. + * The sample is a 12-bit value representing the 0V to 5V range of the A/D converter in the module. * The units are in A/D converter codes. Use GetVoltage() to get the analog value in calibrated units. * @return A sample straight from this channel. */ diff --git a/wpilibj/wpilibJavaDevices/src/main/java/edu/wpi/first/wpilibj/AnalogInput.java b/wpilibj/wpilibJavaDevices/src/main/java/edu/wpi/first/wpilibj/AnalogInput.java index b2bb2c16ce..d252722b84 100644 --- a/wpilibj/wpilibJavaDevices/src/main/java/edu/wpi/first/wpilibj/AnalogInput.java +++ b/wpilibj/wpilibJavaDevices/src/main/java/edu/wpi/first/wpilibj/AnalogInput.java @@ -28,7 +28,7 @@ import edu.wpi.first.wpilibj.util.CheckedAllocationException; * Analog channel class. * * Each analog channel is read from hardware as a 12-bit number representing - * -10V to 10V. + * 0V to 5V. * * Connected to each analog channel is an averaging and oversampling engine. * This engine accumulates the specified ( by setAverageBits() and @@ -91,7 +91,7 @@ public class AnalogInput extends SensorBase implements PIDSource, /** * Get a sample straight from this channel. The sample is a 12-bit value - * representing the 0V to 10V range of the A/D converter. The units are in + * representing the 0V to 5V range of the A/D converter. The units are in * A/D converter codes. Use GetVoltage() to get the analog value in * calibrated units. *