Arduino pwm code with potentiometer. Connect Arduino pin 4 to module pin In2.