I am using the newest marlin, not makerfarm.
Motherboard is set to BOARD_RAMPS_13_EFB.
Since fan is usually on D9, and it was set to 16 in pins.h, I assumed that D9 = 16.
Here is the entire pins.h file, but those are the only changes I made.
pins.h