add option to make a switch output pin logic on/off and not pwm, default...

... is still pwm