SunSPOT API V2.0


com.sun.spot.sensorboard.capabilities
Interface IADCController

All Known Subinterfaces:
IDemoBoard
All Known Implementing Classes:
EDemoBoard

public interface IADCController

Controller interface of an Analog to Digital Convertor controller.

Author:
arshan

Method Summary
 IScalarInput bindScalarInput(PinDescriptor pidx)
          Return an accessor object to the indicated pin
 int getScalarValue(PinDescriptor pidx)
          Return current value of scalar input idx meant to be used only by the accessor objects.
 

Method Detail

bindScalarInput

IScalarInput bindScalarInput(PinDescriptor pidx)
Return an accessor object to the indicated pin

Parameters:
pidx - scalar pin to bind an accessor to
Returns:
accessor object for indicated pin

getScalarValue

int getScalarValue(PinDescriptor pidx)
Return current value of scalar input idx meant to be used only by the accessor objects.

Parameters:
pidx - pin to be read
Returns:
current scalar value of pin

SunSPOT API V2.0


Copyright © 2007 Sun Microsystems, Inc. All Rights Reserved.