So this is a Printrboard Rev-E and everything I have researched suggests that it should operate the same as Rev-F as far as end stops are concerned.
From what you posted earlier the logic is set correctly in your firmware (assuming the flash actually took).
The wires on all three switches should be connected as shown in the following picture.
Then when you do M119 to check with all three switches triggered you should see something like this.
As for the fan output, have you checked polarity? Have you checked with a DMM for output voltage on those pins?
It is possible that something else is connected incorrectly and causing other issues, all we can do is eliminate one thing at a time.
Printit Industries Model 8.10 fully enclosed CoreXY, Chamber heat
3-SD3's & a Workbench all fully enclosed, RH-Slic3r Win7pro, E3D V6, Volcano & Cyclops Hot End
SSR/500W AC Heated Glass Bed, Linear bearings on SS rods. Direct Drive Y-axis, BulldogXL
Thanks to all for your contributions