RoboJDETM v2.0

com.ridgesoft.robotics
Interface AnalogInput

All Known Implementing Classes:
IntelliBrainAnalogInput

public interface AnalogInput

Generic interface for an object that provides analog input sampling.


Method Summary
 int getMaximum()
          Gets the maximum possible value for this analog input.
 int sample()
          Samples this analog input.
 

Method Detail

getMaximum

int getMaximum()
Gets the maximum possible value for this analog input.

The range of the values which can be sampled from this input are 0 to the value returned by this method.

Returns:
the maximum sample value which can be returned by the method

sample

int sample()
Samples this analog input.

Returns:
the current measurement of the analog input

RoboJDETM v2.0

Copyright (c) 2003-2009 RidgeSoft, LLC. All rights reserved.
www.ridgesoft.com