I've included a snippet of the config file showing what I have set for the fan. Running a program with the cooling fan set to start at level 1 I do not get a voltage reading on D9.
# Switch module for fan control
switch.fan.enable True #
switch.fan.input_on_command M106 #
switch.fan.input_off_command M107 #
switch.fan.output_type pwm #
switch.fan.output_pin 2.4 #
switch.misc.enable false #
switch.misc.input_on_command M42 #
switch.misc.input_off_command M43 #
switch.misc.output_pin 2.4 #
Randy