|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlejos.nxt.I2CSensor
lejos.nxt.addon.IRSeeker
public class IRSeeker
HiTechnic IRSeeker sensor - untested. www.hitechnic.com
Field Summary |
---|
Fields inherited from class lejos.nxt.I2CSensor |
---|
address, BLANK, PRODUCT_ID, SENSOR_TYPE, STOP, VERSION |
Constructor Summary | |
---|---|
IRSeeker(I2CPort port)
|
Method Summary | |
---|---|
int |
getDirection()
Returns the direction of the target (1-9) or zero if no target. |
int |
getSensorValue(int id)
Returns value of sensor 1 - 5. |
Methods inherited from class lejos.nxt.I2CSensor |
---|
fetchString, getData, getData, getId, getProductID, getSensorType, getVersion, sendData, sendData, setAddress |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IRSeeker(I2CPort port)
Method Detail |
---|
public int getDirection()
public int getSensorValue(int id)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |