Overrideable CASE_LIGHT_PIN
This commit is contained in:
@@ -103,7 +103,10 @@
|
||||
#define SDSS 53
|
||||
#define SD_DETECT_PIN 39
|
||||
//#define LED_PIN 8
|
||||
#define CASE_LIGHT_PIN 8 // 8 默认挤出机风扇作为Case LED,如果需要PWM FAN,则需要将FAN_PIN置为7,LED_PIN置为8
|
||||
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 8 // 8 默认挤出机风扇作为Case LED,如果需要PWM FAN,则需要将FAN_PIN置为7,LED_PIN置为8
|
||||
#endif
|
||||
|
||||
//#define SAFETY_TRIGGERED_PIN 28 // PIN to detect the safety circuit has triggered
|
||||
//#define MAIN_VOLTAGE_MEASURE_PIN 14 // ANALOG PIN to measure the main voltage, with a 100k - 4k7 resitor divider.
|
||||
|
@@ -128,7 +128,10 @@
|
||||
//
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define CASE_LIGHT_PIN 2
|
||||
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 2
|
||||
#endif
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
|
@@ -98,7 +98,10 @@
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define PS_ON_PIN 12
|
||||
#define CASE_LIGHT_PIN 2
|
||||
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 2
|
||||
#endif
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
|
@@ -113,7 +113,10 @@
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define PS_ON_PIN 12
|
||||
#define CASE_LIGHT_PIN 2
|
||||
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 2
|
||||
#endif
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
|
@@ -132,7 +132,10 @@
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define PS_ON_PIN 12
|
||||
#define CASE_LIGHT_PIN 45 // Try the keypad connector
|
||||
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 45 // Try the keypad connector
|
||||
#endif
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
|
@@ -93,4 +93,7 @@
|
||||
|
||||
#define STAT_LED_RED_PIN 23
|
||||
#define STAT_LED_BLUE_PIN 26
|
||||
#define CASE_LIGHT_PIN 51
|
||||
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN 51
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user