Servo Problem!

I need help writing a small servo program. I am new to arduino so I need some guidance. I need my servo to sweep from 0 degrees to 180 degrees in 60 seconds back and forth. Thanks! 8)

I take it that you have looked at the Sweep example that comes with the servo library .......

Note that the actual range of movement of typical RC servos is less than 180 degrees.

PeterH: Note that the actual range of movement of typical RC servos is less than 180 degrees.

The some of the common servos I've tinkered with can actually rotate ~190 deg, so YMMV.