I'm trying to write simple code to move my servo but cant figure it out!

NO CODE POSTED = NO HELP

The easier you make it to read and copy your code the more likely it is that you will get help

Please follow the advice given in the link below when posting code , use code tags and post the code here

If you get errors when compiling please copy them from the IDE using the "Copy error messages" button and paste the clipboard here in code tags

Please post a schematic of your project. A photo of a hand drawn circuit is good enough

How is the servo powered ?