Creating my own PWM

Yes, I have also tried that on pin2

thanks