Arduino code for ATtiny45

Any tiny85 code that I have would be written for the ATTinCore core. So you would have to install that core to run it. Once you install the core, in the IDE, just go to File, Examples, Servo_ATTinyCore and there are 2 examples to try (Knob, control a servo with a potentiometer and Sweep, the servo sweeps back and forth from 0° to 180°, 180° to 0°).

If you have further questions about servos with tiny85, let me know.