Application Of Encoder In Digital Electronics