use servo as rotation sensor

Thanks for your help!
I am affraid I have to need a lot of help, but fortunately there is a great community!