Mechanical endstop with COM to ground and NC to Signal uses "false" (most common setup).
I have to set to true for my switches and for my SN-04N and False for my TL-W3M Proximity sensor.
In My Marlin firmware.
My settings are
// Mechanical endstop
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING false // set to true for SN-04N False for TL-W3M.
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to same logic as "Z_MIN_ENDSTOP_INVERTING".
You may need to invert the logic in whatever firmware you are using.
Edited 9 time(s). Last edit at 06/28/2017 11:40AM by Roberts_Clif.