How To Calculate Duty Cycle With Pwm And Offset