I installed the firmware found on github, compiled with Configuration.h and Configuration_adv.h found on example github page, on my ender 3 but the fan is always on.
Sending the M106 S0 command or the M107 command gives me a message:
Ok
ok
but the fan remains on as well as the LED on the board.