Hi, I have a Cetus, and I am trying to use same pin
1.18 as both my fan speed control pin, as well as a 3d touch sensor control pin. So is this a valid config?
## Switch module for fan control switch.fan.enable true # switch.fan.input_on_command M106 # switch.fan.input_off_command M107 # switch.fan.output_pin 1.18 # switch.fan.output_type hwpwm # pwm output settable with S parameter in the input_on_comand switch.fan.max_pwm 225 # set max pwm for the pin, reduce so that we dont trigger zprobe ## Switch module for 3dtouch control switch.servo.enable true switch.servo.input_on_command M280 switch.servo.input_off_command M281 switch.servo.output_pin 1.18 # Pin connected to the aux-port switch.servo.output_type hwpwm # H/W PWM output settable switch.servo.pwm_period_ms 20 #Default is 50Hz switch.servo.startup_state false # use startup_value as initial setting switch.servo.startup_value 93 # On boot it will go into stow mode switch.servo.default_on_value 97 # value set if M280 is issued without the S parameter, also value set if startup_state is true
Update: The config I have in this post does not work!! However I came up with a electronics design to use different PWM duty cycles to mean different things, and hence I can use same pin for different purpose. Look at my subsequent post below.