From e49de09f58f461455267ab8c072893ea78956a6e Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Fri, 30 Sep 2016 13:32:45 +0200 Subject: [PATCH] Config files: introduce USE_INTERNAL_PULLDOWN. --- config/printer.mendel.h | 12 ++++++++++++ config/printer.mendel90.h | 12 ++++++++++++ config/printer.tronxy.h | 12 ++++++++++++ config/printer.wolfstrap.h | 12 ++++++++++++ configtool/printer.generic.h | 12 ++++++++++++ testcases/config.h.Profiling | 12 ++++++++++++ 6 files changed, 72 insertions(+) diff --git a/config/printer.mendel.h b/config/printer.mendel.h index 7f6484b..a372f39 100644 --- a/config/printer.mendel.h +++ b/config/printer.mendel.h @@ -178,6 +178,18 @@ */ //#define USE_INTERNAL_PULLUPS +/** \def USE_INTERNAL_PULLDOWNS + + Some controller chips feature internal pulldown resistors on their input + pins, which get used for endstops by turning on this switch. Don't turn it + on when using endstops which need no pull resistor, e.g. optical endstops, + because pull resistors are counterproductive there. + + One can't use USE_INTERNAL_PULLDOWNS and USE_INTERNAL_PULLUPS at the same + time, of course. +*/ +//#define USE_INTERNAL_PULLDOWNS + /** \def Z_AUTODISABLE Automatically disable Z axis when not in use. This is useful for printers with a self-locking Z axis, e.g. the various Mendel derivates. diff --git a/config/printer.mendel90.h b/config/printer.mendel90.h index aba73f6..6c4aee6 100644 --- a/config/printer.mendel90.h +++ b/config/printer.mendel90.h @@ -178,6 +178,18 @@ */ //#define USE_INTERNAL_PULLUPS +/** \def USE_INTERNAL_PULLDOWNS + + Some controller chips feature internal pulldown resistors on their input + pins, which get used for endstops by turning on this switch. Don't turn it + on when using endstops which need no pull resistor, e.g. optical endstops, + because pull resistors are counterproductive there. + + One can't use USE_INTERNAL_PULLDOWNS and USE_INTERNAL_PULLUPS at the same + time, of course. +*/ +//#define USE_INTERNAL_PULLDOWNS + /** \def Z_AUTODISABLE Automatically disable Z axis when not in use. This is useful for printers with a self-locking Z axis, e.g. the various Mendel derivates. diff --git a/config/printer.tronxy.h b/config/printer.tronxy.h index ede7c91..761d0f9 100644 --- a/config/printer.tronxy.h +++ b/config/printer.tronxy.h @@ -178,6 +178,18 @@ */ //#define USE_INTERNAL_PULLUPS +/** \def USE_INTERNAL_PULLDOWNS + + Some controller chips feature internal pulldown resistors on their input + pins, which get used for endstops by turning on this switch. Don't turn it + on when using endstops which need no pull resistor, e.g. optical endstops, + because pull resistors are counterproductive there. + + One can't use USE_INTERNAL_PULLDOWNS and USE_INTERNAL_PULLUPS at the same + time, of course. +*/ +//#define USE_INTERNAL_PULLDOWNS + /** \def Z_AUTODISABLE Automatically disable Z axis when not in use. This is useful for printers with a self-locking Z axis, e.g. the various Mendel derivates. diff --git a/config/printer.wolfstrap.h b/config/printer.wolfstrap.h index 002cb8f..6069fa1 100644 --- a/config/printer.wolfstrap.h +++ b/config/printer.wolfstrap.h @@ -178,6 +178,18 @@ */ //#define USE_INTERNAL_PULLUPS +/** \def USE_INTERNAL_PULLDOWNS + + Some controller chips feature internal pulldown resistors on their input + pins, which get used for endstops by turning on this switch. Don't turn it + on when using endstops which need no pull resistor, e.g. optical endstops, + because pull resistors are counterproductive there. + + One can't use USE_INTERNAL_PULLDOWNS and USE_INTERNAL_PULLUPS at the same + time, of course. +*/ +//#define USE_INTERNAL_PULLDOWNS + /** \def Z_AUTODISABLE Automatically disable Z axis when not in use. This is useful for printers with a self-locking Z axis, e.g. the various Mendel derivates. diff --git a/configtool/printer.generic.h b/configtool/printer.generic.h index 1813f14..6cfbc6a 100644 --- a/configtool/printer.generic.h +++ b/configtool/printer.generic.h @@ -178,6 +178,18 @@ */ #define USE_INTERNAL_PULLUPS +/** \def USE_INTERNAL_PULLDOWNS + + Some controller chips feature internal pulldown resistors on their input + pins, which get used for endstops by turning on this switch. Don't turn it + on when using endstops which need no pull resistor, e.g. optical endstops, + because pull resistors are counterproductive there. + + One can't use USE_INTERNAL_PULLDOWNS and USE_INTERNAL_PULLUPS at the same + time, of course. +*/ +//#define USE_INTERNAL_PULLDOWNS + /** \def Z_AUTODISABLE Automatically disable Z axis when not in use. This is useful for printers with a self-locking Z axis, e.g. the various Mendel derivates. diff --git a/testcases/config.h.Profiling b/testcases/config.h.Profiling index 79cf289..f371528 100644 --- a/testcases/config.h.Profiling +++ b/testcases/config.h.Profiling @@ -281,6 +281,18 @@ */ //#define USE_INTERNAL_PULLUPS +/** \def USE_INTERNAL_PULLDOWNS + + Some controller chips feature internal pulldown resistors on their input + pins, which get used for endstops by turning on this switch. Don't turn it + on when using endstops which need no pull resistor, e.g. optical endstops, + because pull resistors are counterproductive there. + + One can't use USE_INTERNAL_PULLDOWNS and USE_INTERNAL_PULLUPS at the same + time, of course. +*/ +//#define USE_INTERNAL_PULLDOWNS + /** \def Z_AUTODISABLE Automatically disable Z axis when not in use. This is useful for printers with a self-locking Z axis, e.g. the various Mendel derivates.