The PWM converter will provide an on or an off output signal if that is what it gets as input. There may be a slight delay (less than a second) since the code has to wait a certain period to make sure the input is not a PWM signal.

And you don't need a resistor outside the board for either the input (from MS3 to the PWM board) or the output (to the base of the transistor). There are two 1K resistors on board for that.