PWM code works. We need to ge tthe duty cycle and frequency in check