Package hw
Class IO

Public Method setRotaryEncoderReportingEnabled

static void setRotaryEncoderReportingEnabled(boolean enabled)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Parameter Range Description
enabled false ... true determines whether rotary encoder events are reported (true) or not (false)

This method enables or disables the reporting of rotary encoder events. The OnRotaryEncoderListener class must be implemented to make use of the reporting and the automatically called onRotaryEncoderMovement() method (see OnRotaryEncoderListener).

Note

Example

  IO.setRotaryEncoderEnabled(true);

  IO.setRotaryEncoderReportingEnabled(true);

See also:

setRotaryEncoderPeriod(int)
getRotaryEncoderValue()
setRotaryEncoderEnabled(boolean)
OnRotaryEncoderListener