Add config option for new board revision
This commit is contained in:
parent
1bd23dfbd8
commit
2b4c936c1a
|
@ -1949,6 +1949,20 @@
|
||||||
// Only power servos during movement, otherwise leave off to prevent jitter
|
// Only power servos during movement, otherwise leave off to prevent jitter
|
||||||
//#define DEACTIVATE_SERVOS_AFTER_MOVE
|
//#define DEACTIVATE_SERVOS_AFTER_MOVE
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Select your version of the Trigorilla (RAMPS1.4) board here.
|
||||||
|
*
|
||||||
|
* 0 = Default Trigorilla
|
||||||
|
* 1 = Newer Trigorilla v1.1 (first seen late 2018)
|
||||||
|
*
|
||||||
|
* The only major difference is a slight change on the servo pin mapping.
|
||||||
|
* This setting only is relevant if you want to use BLtouch or similar
|
||||||
|
* mods to be used via servo pins.
|
||||||
|
* The new version is to be identified by a "TRIGORILLA1.1" lettering
|
||||||
|
* on the upper left of the PCB silkscreen.
|
||||||
|
*/
|
||||||
|
#define TRIGORILLA_VERSION 0
|
||||||
|
|
||||||
// Enable Anycubic TFT
|
// Enable Anycubic TFT
|
||||||
#define ANYCUBIC_TFT_MODEL
|
#define ANYCUBIC_TFT_MODEL
|
||||||
#define ANYCUBIC_FILAMENT_RUNOUT_SENSOR
|
#define ANYCUBIC_FILAMENT_RUNOUT_SENSOR
|
||||||
|
|
|
@ -95,7 +95,8 @@
|
||||||
#define TEMP_BED_PIN 14
|
#define TEMP_BED_PIN 14
|
||||||
|
|
||||||
// Servos
|
// Servos
|
||||||
#ifdef NUM_SERVOS
|
#if TRIGORILLA_VERSION == 0 // Default Trigorilla
|
||||||
|
#ifdef NUM_SERVOS
|
||||||
#define SERVO0_PIN 11
|
#define SERVO0_PIN 11
|
||||||
|
|
||||||
#if NUM_SERVOS > 1
|
#if NUM_SERVOS > 1
|
||||||
|
@ -109,7 +110,24 @@
|
||||||
#if NUM_SERVOS > 3
|
#if NUM_SERVOS > 3
|
||||||
#define SERVO3_PIN 4
|
#define SERVO3_PIN 4
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#else // Trigorilla 1.1
|
||||||
|
#ifdef NUM_SERVOS
|
||||||
|
#define SERVO0_PIN 5
|
||||||
|
|
||||||
|
#if NUM_SERVOS > 1
|
||||||
|
#define SERVO1_PIN 4
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if NUM_SERVOS > 2
|
||||||
|
#define SERVO2_PIN 11
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if NUM_SERVOS > 3
|
||||||
|
#define SERVO3_PIN 6
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#endif // #if TRIGORILLA_VERSION
|
||||||
|
|
||||||
#if defined(ANYCUBIC_TFT_MODEL) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
#if defined(ANYCUBIC_TFT_MODEL) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
||||||
#define BEEPER_PIN 31
|
#define BEEPER_PIN 31
|
||||||
|
|
Loading…
Reference in New Issue