Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

Commit

Permalink
Wanhao i3 Mini V2 Support
Browse files Browse the repository at this point in the history
Wanhao i3 Mini V2 Support
  • Loading branch information
Timothy Hoogland committed Jun 7, 2020
1 parent c57a1d2 commit bba374b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 5 additions & 2 deletions TH3DUF_R2/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -747,15 +747,18 @@
// Patreon Link: https://www.patreon.com/join/andrivet

//===========================================================================
// Wanhao i3 MINI Options - Select 'Arduino Mega 2560' from Tools > Board
// Wanhao i3 MINI (V1/V2) Options - Select 'Arduino Mega 2560' from Tools > Board
//===========================================================================
//#define WANHAO_I3MINI
//#define WANHAO_I3MINI_V2

// EZABL Probe Mounts
//#define WANHAO_I3MINI_OEM
//#define WANHAO_I3MINI_OEM_EZABLMINI
//#define CUSTOM_PROBE

// If you have the V1 and you've added a heated bed, just uncomment the V2 option

//===========================================================================
// Wanhao D6 Options - Select 'Arduino Mega 2560' from Tools > Board
//===========================================================================
Expand Down Expand Up @@ -1096,7 +1099,7 @@

#define LCD_LANGUAGE en

#define UNIFIED_VERSION "TH3D U1.R2.B3"
#define UNIFIED_VERSION "TH3D U1.R2.B4"
#include "Configuration_backend.h"

#endif // CONFIGURATION_H
6 changes: 5 additions & 1 deletion TH3DUF_R2/Configuration_backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

#include "Configuration_th3d.h"

#if ENABLED(WANHAO_I3MINI_V2)
#define WANHAO_I3MINI
#endif

#if DISABLED(TH3DINHOUSEMACHINE)
#if DISABLED(MKS_PRINTER)
#if ENABLED(TMC_CREALITY_BOARD) || ENABLED(CR10S_PRO) || ENABLED(CR10_V2) || ENABLED(CR10_MAX)
Expand Down Expand Up @@ -3182,7 +3186,7 @@
#define TEMP_SENSOR_4 0

#if DISABLED(TH3DINHOUSEMACHINE)
#if ENABLED(AC_BED) || ENABLED(WANHAO_I3MINI)
#if ENABLED(AC_BED) || (ENABLED(WANHAO_I3MINI) && DISABLED(WANHAO_I3MINI_V2))
#define TEMP_SENSOR_BED 0
#elif ENABLED(KNOWN_BED_THERMISTOR)
#define TEMP_SENSOR_BED KNOWN_BED_THERMISTOR_VALUE
Expand Down
2 changes: 1 addition & 1 deletion TH3DUF_R2/Configuration_th3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
#endif //end of steve A30

#if ENABLED(TIM_I3MINI)
#define WANHAO_I3MINI
#define WANHAO_I3MINI_V2
#define WANHAO_I3MINI_OEM_EZABLMINI
#define EZABL_POINTS 3
#define EZABL_PROBE_EDGE 5
Expand Down

0 comments on commit bba374b

Please sign in to comment.