public interface PrototypeListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
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.
|
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