|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrototypeListener
Class with declarations of callback methods for the prototype sensor.
Method Summary | |
---|---|
void |
ainChanged(SensorPort port,
int[] values)
Called when at least one of the 5 analog inputs changed its value. |
void |
dinChanged(SensorPort port,
int[] values)
Called when at least one of the digital inputs changed its value. |
Method Detail |
---|
void ainChanged(SensorPort port, int[] values)
port
- the port where the sensor is plugged invalues
- the value of the analog input channels: 0..1023 or -1 if unchangedvoid dinChanged(SensorPort port, int[] values)
port
- the port where the sensor is plugged invalues
- the value of the 6 digital channels: 0, 1 or -1 if unchanged or not an input
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |