SunSPOT API V3.0


com.sun.spot.sensorboard.hardware
Interface IADT7411

All Superinterfaces:
ISPIControlledIOChip
All Known Implementing Classes:
ADT7411

public interface IADT7411
extends ISPIControlledIOChip


Method Summary
 byte read(byte addr)
          Read a byte from the ADC
 void write(byte addr, byte value)
          Write a byte to the ADC
 
Methods inherited from interface com.sun.spot.sensorboard.hardware.ISPIControlledIOChip
claimedPins, claimPin, getSPI
 

Method Detail

read

byte read(byte addr)
Read a byte from the ADC

Parameters:
addr - address to be read
Returns:
byte read

write

void write(byte addr,
           byte value)
Write a byte to the ADC

Parameters:
addr - address to write
value - to be written

SunSPOT API V3.0


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