attiny tilt switch pwm

anyone?
my code seems flawless but it doesnt do what i want!!