Skip to content

Commit

Permalink
add BLTOUCH support
Browse files Browse the repository at this point in the history
  • Loading branch information
atsju committed Mar 13, 2022
1 parent 018a5a5 commit 68d23ab
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
20 changes: 19 additions & 1 deletion Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,24 @@
*/
#pragma once

//#warning "Author warning: check bed size and height (X_BED_SIZE, ...), this is for development only"

#define D301_AUTO_LEVELING
//#warning "Author warning: check if you have auto_leveling on your printer"

// author atsju, this is only to help. Will not be here in production
#ifdef D301_AUTO_LEVELING
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define BLTOUCH
#define Z_SAFE_HOMING
#define AUTO_BED_LEVELING_BILINEAR
#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#else
#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
#endif



/**
* Configuration.h
*
Expand Down Expand Up @@ -841,7 +859,7 @@
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#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 true // Set to true to invert the logic of the endstop.
//#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define I_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define J_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define K_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
Expand Down
2 changes: 1 addition & 1 deletion Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@
* differs, a mode set eeprom write will be completed at initialization.
* Use the option below to force an eeprom write to a V3.1 probe regardless.
*/
#define BLTOUCH_SET_5V_MODE
//#define BLTOUCH_SET_5V_MODE

/**
* Safety: Activate if connecting a probe with an unknown voltage mode.
Expand Down

0 comments on commit 68d23ab

Please sign in to comment.