Incremental Rotary Encoder functions are provided in the libraries

LIB/rotary_encoder_lib.bas


 
Incremental Rotary Encoder Description  
rotary_encoder_init Initialises the rotary encoder hardware and library
rotary_encoder_service this function must be called in intserv