Add support for active-high limit switches
This commit is contained in:
parent
fe03216952
commit
e8345fdb88
2 changed files with 16 additions and 1 deletions
6
config.h
6
config.h
|
|
@ -171,6 +171,12 @@
|
|||
// successful values for certain setups have ranged from 10 to 20us.
|
||||
// #define STEP_PULSE_DELAY 10 // Step pulse delay in microseconds. Default disabled.
|
||||
|
||||
// Uncomment the following define if you are using hardware that drives high when your limits
|
||||
// are reached. You will need to ensure that you have appropriate pull-down resistors on the
|
||||
// limit switch input pins, or that your hardware drives the pins low when they are open (non-
|
||||
// triggered).
|
||||
// #define LIMIT_SWITCHES_ACTIVE_HIGH
|
||||
|
||||
// ---------------------------------------------------------------------------------------
|
||||
|
||||
// TODO: Install compile-time option to send numeric status codes rather than strings.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue