@racerwho said in Why aren't my fans working?:

; Fans
M950 F0 C"fan0" Q20 ; create Part Cooling on pin fan0 and set its frequency
M106 P"fan0" S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q20 ; create Hotend on pin fan1 and set its frequency
M106 P"fan1" ;S255 H1 T45 ; set fan 1 value. Thermostatic control is turned on at 45c
M950 F2 C"fan2" Q20 ; create fan 2 on pin fan2 and set its frequency
M308 S2 Y"mcu-temp" A"MCU Temp" ; create sensor 2 for mcu temp
M308 S3 Y"drivers" A"Drivers Temp" ; create sensor 3 for drivers temp
M106 P"fan2" L0.7 T45:65 H2:3 ; set fan 2 value. Thermostatic control is turned on at 45:65 full speed

The P parameter of M106 must be the fan number (as used in the F parameter of the M950 command), not the pin name.