Buy a mouse and you'll have two optical encoders for a very low price. The mechanics of the knob it's up to you then, but it'quit simple tohugh. And to generate an interrupt you can use the RB0/INT on one contact, The B contact to follow Bobs algorithm. Mircea Chiriciuc EMCO INVEST -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics