Correct voltage range in javadocs for RoboRIO

Change-Id: I6049fac62bb4f1fb15364bd26d0511d0603c0aee
This commit is contained in:
Joe Ross
2014-07-26 15:12:38 -07:00
committed by Thomas Clark
parent 326aa2e85c
commit 5a3889a3aa
3 changed files with 4 additions and 4 deletions

View File

@@ -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.

View File

@@ -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.
*/

View File

@@ -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.
*