Combine codes for servo project

Please post your code in </> code tags as described in http://forum.arduino.cc/index.php/topic,148850.0.html Point 7. It will be easier to read and code with smiley faces in never looks right.

Make sure you have ; at the end of all statements. - that will fix a few errors.

Then if you want to use a function moveservo() you need to define it somewhere. And you could take out the two functions you've defined but never use unless you're intending to use them in moveservo() in which case you need to sort out the pin names.

Steve