Overrideable CASE_LIGHT_PIN

This commit is contained in:
Scott Lahteine
2020-05-07 14:57:25 -05:00
parent 10e875cd79
commit 6be76af617
25 changed files with 97 additions and 25 deletions

View File

@@ -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置为7LED_PIN置为8
#ifndef CASE_LIGHT_PIN
#define CASE_LIGHT_PIN 8 // 8 默认挤出机风扇作为Case LED如果需要PWM FAN,则需要将FAN_PIN置为7LED_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.

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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