I need to know how we can rotate a servo motor connected to Arduino at 120 degrees angle each. It should start from 0 degrees then stop at 120 degrees , then move and stop again at 240 degrees and finally stop at 360 degrees.
If anyone knows about this please do help. A code would be sufficient.