ch.aplu.nxt
Interface GyroListener

All Known Implementing Classes:
GyroAdapter

public interface GyroListener

Interface with declarations of callback methods for the gyro sensor.


Method Summary
 void fast(SensorPort port, int level)
          Called when the gyro value overruns the trigger level.
 void slow(SensorPort port, int level)
          Called when the gyro value under-runs the trigger level.
 

Method Detail

fast

void fast(SensorPort port,
          int level)
Called when the gyro value overruns the trigger level. Override it to process the event.

Parameters:
port - the port where the sensor is plugged in
level - the current gyro value.

slow

void slow(SensorPort port,
          int level)
Called when the gyro value under-runs the trigger level. Override it to process the event.

Parameters:
port - the port where the sensor is plugged in
level - the current gyro level