Doubt Regarding Encoder

Azhaganandhan:
the sketch code to read encoder output......

I think you forgot to include something. The code, specifically. Or is it in your other thread? Sorry, can't be bothered to search.