O Level Papers!
The write() function sets the angle (position) of the servo motor in degrees, from 0 to 180.