|
RoboJDETM v2.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.ridgesoft.intellibrain.IntelliBrainPinPort
com.ridgesoft.intellibrain.IntelliBrainAnalogInput
public class IntelliBrainAnalogInput
Class representing a single analog input pin. These pins may also be used as digital inputs. This class implements both the AnalogInput and the DigitalInput interfaces.
| Method Summary | |
|---|---|
int |
getMaximum()
Gets the maximum possible value for this analog input. |
int |
sample()
Samples this analog input. |
String |
toString()
Samples the sensor and returns the integer value as a String. |
| Methods inherited from class com.ridgesoft.intellibrain.IntelliBrainPinPort |
|---|
isSet, setPullUp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait |
| Method Detail |
|---|
public int getMaximum()
The analog input range of the IntelliBrain robotics controller is 0 - 1023.
getMaximum in interface AnalogInputpublic int sample()
sample in interface AnalogInputpublic String toString()
toString in class Object
|
RoboJDETM v2.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||