control a Servo that rotates more than 180 degrees

Have a look at the arduino servo reference pages: Servo - Arduino Reference

The attach function handles modifying the min and max pulse widths