why are you using such a complicated pwm method? why not just use the built in analogwrite function?
EDIT: are you using an attiny85?
why are you using such a complicated pwm method? why not just use the built in analogwrite function?
EDIT: are you using an attiny85?