attiny tilt switch pwm

Ive added my code to my op
and thanks so much ill give this a try