servo 360

you mean that if i use map commend i can do sweep by servo 360 ?
i wish i can use "for" because i want to send the value of "i" to "Processing" program
I am trying to develop the famous 180 sonar for another 360
thank you very much