Overrideable CASE_LIGHT_PIN
This commit is contained in:
@ -44,7 +44,9 @@
|
||||
#define RAMPS_D9_PIN 8
|
||||
#define MOSFET_D_PIN 12
|
||||
|
||||
#define CASE_LIGHT_PIN -1 // Hardware PWM but one is not available on expansion header
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN -1 // Hardware PWM but one is not available on expansion header
|
||||
#endif
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
|
@ -102,7 +102,9 @@
|
||||
#undef PS_ON_PIN // 12
|
||||
#define PS_ON_PIN 81 // External Power Supply
|
||||
|
||||
#define CASE_LIGHT_PIN 44 // Hardware PWM
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 44 // Hardware PWM
|
||||
#endif
|
||||
|
||||
// This board has headers for Z-min, Z-max and IND_S_5V *but* as the bq team
|
||||
// decided to ship the printer only with the probe and no additional Z-min
|
||||
|
@ -172,7 +172,9 @@
|
||||
#define PS_ON_PIN 12
|
||||
#endif
|
||||
|
||||
#define CASE_LIGHT_PIN 5
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 5
|
||||
#endif
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
|
@ -175,7 +175,9 @@
|
||||
#define PS_ON_PIN 12
|
||||
#endif
|
||||
|
||||
#define CASE_LIGHT_PIN 8
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 8
|
||||
#endif
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
|
@ -134,12 +134,16 @@
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define CASE_LIGHT_PIN 5
|
||||
#define SDSS 53
|
||||
|
||||
#ifndef LED_PIN
|
||||
#define LED_PIN 13
|
||||
#endif
|
||||
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 5
|
||||
#endif
|
||||
|
||||
#define SPINDLE_LASER_PWM_PIN -1 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 4 // Pullup!
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
#define FAN_PIN 9 // PH6 ** Pin18 ** PWM9
|
||||
|
||||
// Other Mods
|
||||
#define CASE_LIGHT_PIN 11 // PB5 ** Pin24 ** PWM11
|
||||
|
||||
#define SERVO3_PIN 12 // PB6 ** Pin25 ** D12
|
||||
#define PS_ON_PIN 2 // X+ // PE4 ** Pin6 ** PWM2 **MUST BE HARDWARE PWM
|
||||
#define FILWIDTH_PIN 15 // Y+ // PJ0 ** Pin63 ** USART3_RX **Pin should have a pullup!
|
||||
@ -54,6 +54,10 @@
|
||||
#define RGB_LED_B_PIN 52
|
||||
#endif
|
||||
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 11 // PB5 ** Pin24 ** PWM11
|
||||
#endif
|
||||
|
||||
#include "pins_MKS_BASE_common.h"
|
||||
|
||||
/*
|
||||
|
@ -106,7 +106,10 @@
|
||||
#define SDPOWER_PIN 48
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define CASE_LIGHT_PIN 45 // Hardware PWM
|
||||
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 45 // Hardware PWM
|
||||
#endif
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
|
@ -153,7 +153,10 @@
|
||||
#define LED_PIN 13
|
||||
#define PS_ON_PIN 45
|
||||
#define KILL_PIN 46
|
||||
#define CASE_LIGHT_PIN 45
|
||||
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 45
|
||||
#endif
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
|
@ -111,7 +111,10 @@
|
||||
#define LED_PIN 13
|
||||
#define PS_ON_PIN 12
|
||||
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
|
||||
#define CASE_LIGHT_PIN 8
|
||||
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 8
|
||||
#endif
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
|
Reference in New Issue
Block a user