attiny tilt switch pwm

anything i should add to make it easier to help?