using the rotary encoder as an input device

i am searching for 'C' code for using the rotary encoder to input 4 digits and save them , then comapare the input code with a saved one.

i wish if any one can help

waled

More questions in this forum