attiny tilt switch pwm

if (buttonPushCounter % 0 == 0)

This line says "divide buttonPushCounter by zero and test if the remainder is zero". See any problems with that?

if (buttonPushCounter % 1 == 0)

This says "divide buttonPushCounter by 1 and test if the remainder is zero". See any problems here?

Same for tiltPushCounter. Consider using switch case statements.