I think the "Servo. h" in sweep example is for Arduino Uno board.
The "Servo. h" not suitable for ATtiny45/85.
Another issue is, in sweep example, arduino Uno board, pin9 use as a servo motor control output pin.
In source code is "myservo. attach (9)
I want to use ATtiny44/85 pin2 (PB3) as a servo motor control pin.
So, can I change the to " my servo. attach (2)
Best Regards