Fas not working

I have a V1 Smoothie and I also own a MKS knock off.I am trying to figure out how to get everything working on the MKS so as to not fry it.A good friend of mine gave me the Smoothie when I told him I was ordering parts to build my own printer.I have never tried any of this and I am a bit overwhelmed at the moment.I have gotten everything working except the fans.I also will be trying to set up a BLTouch sensor.I had a printer up and running for a a few months but it was a chinese Prusa knock off with its own controller that needed no setting up.I don’t know how to set up the extruder fan and part fan to help control temps and I can’t even get them to turn on.I would love if someone would be kind enough to point me in the right direction or give me a link to an example.I read the documentation but I am still a bit lost it is a pretty steep learning curve for me.Thanks

Imported from wikidot

http://smoothieware.org/3d-printer-guide#fans ( you really want to read all the guide. and the rest of the site really )

I have been trying to read through everything while trying to install my board but like I said it’s kind of throwing me for a loop.I can figure out most of the wiring but I have no clue on how to edit the config file so that it all works.You have to remember I have zero experience with Marlin/Repetier or any other software used to control the printer.I am sorry if I come off as wanting you to spoon feed me the information but I am lost.I am using Cura so would modifying my config file to include this allow Cura to control the fan as it is supposed to ? I would change the output pin to whatever pin I am using.

  1. 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 2.4 # The pin matching the MOSFET we chose
switch.fan.output_type pwm # PWM output settable with S parameter in the input_on_comand
#switch.fan.max_pwm 255 # set max PWM for the pin default is 255