Edit pin definitions for Trigorilla Board in i3 MEGA.

This commit is contained in:
Knutwurst
2020-06-02 14:17:30 +02:00
parent 0990a98aea
commit 1b60c6d748
4 changed files with 16 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
/* /*
AnycubicTouchscreen.cpp --- Support for Anycubic i3 Mega TFT AnycubicTouchscreen.cpp --- Support for Anycubic i3 Mega TFT
Created by Christian Hopp on 2017-12-09 Created by Christian Hopp on 2017-12-09
Modified by Oliver Köster on 2020-06-02 Modified by Oliver Köster on 2020-06-02
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public

View File

@@ -1,7 +1,7 @@
/* /*
AnycubicTouchscreen.h --- Support for Anycubic i3 Mega TFT AnycubicTouchscreen.h --- Support for Anycubic i3 Mega TFT
Created by Christian Hopp on 2017-12-09 Created by Christian Hopp on 2017-12-09
Modified by Oliver Köster on 2020-06-02 Modified by Oliver Köster on 2020-06-02
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public

View File

@@ -89,15 +89,15 @@
#define X_MIN_PIN 3 #define X_MIN_PIN 3
#endif #endif
#ifndef X_MAX_PIN #ifndef X_MAX_PIN
#define X_MAX_PIN 2 #define X_MAX_PIN 43
#endif #endif
#endif #endif
#ifndef Y_STOP_PIN #ifndef Y_STOP_PIN
#ifndef Y_MIN_PIN #ifndef Y_MIN_PIN
#define Y_MIN_PIN 14 #define Y_MIN_PIN 42
#endif #endif
#ifndef Y_MAX_PIN #ifndef Y_MAX_PIN
#define Y_MAX_PIN 15 #define Y_MAX_PIN -1
#endif #endif
#endif #endif
#ifndef Z_STOP_PIN #ifndef Z_STOP_PIN
@@ -105,7 +105,7 @@
#define Z_MIN_PIN 18 #define Z_MIN_PIN 18
#endif #endif
#ifndef Z_MAX_PIN #ifndef Z_MAX_PIN
#define Z_MAX_PIN 19 #define Z_MAX_PIN -1
#endif #endif
#endif #endif
@@ -113,7 +113,7 @@
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 32 #define Z_MIN_PROBE_PIN 2
#endif #endif
// //

View File

@@ -54,7 +54,12 @@
#define TG_FAN0_PIN 9 // Anycubic Kossel: Usually the part cooling fan #define TG_FAN0_PIN 9 // Anycubic Kossel: Usually the part cooling fan
#define TG_FAN1_PIN 7 // Anycubic Kossel: Unused #define TG_FAN1_PIN 7 // Anycubic Kossel: Unused
#define TG_FAN2_PIN 44 // Anycubic Kossel: Hotend fan #define TG_FAN2_PIN 44 // Anycubic Kossel: Hotend fan
#define CONTROLLER_FAN_PIN TG_FAN1_PIN
#define FIL_RUNOUT_PIN 19
#define BEEPER_PIN 31
#define SDSS 53
#define LED_PIN 13
#define SD_DETECT_PIN 49
// Remap MOSFET pins to common usages: // Remap MOSFET pins to common usages:
#define RAMPS_D10_PIN TG_HEATER_0_PIN // HEATER_0_PIN is always RAMPS_D10_PIN in pins_RAMPS.h #define RAMPS_D10_PIN TG_HEATER_0_PIN // HEATER_0_PIN is always RAMPS_D10_PIN in pins_RAMPS.h
@@ -117,4 +122,4 @@
#define DOGLCD_A0 42 #define DOGLCD_A0 42
#endif #endif
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD