set default frequency to 50hz for pwm pins