Programming ATTiny24 (and 44/84 of course)

the uno has two different pwm speeds depending on which pins are used...check the arduino docs. the tiny24 cores may do the same. for the future, you can tweak the speed yourself by manipulating low level registers, but thats pretty advanced, and for another day.

im glad your sketch now works and im glad to have been able to help