Always define status LED pins
This commit is contained in:
parent
ad691022d7
commit
ba43277429
@ -41,16 +41,14 @@
|
|||||||
#define DOGLCD_CS 32
|
#define DOGLCD_CS 32
|
||||||
#define BTN_ENC 12
|
#define BTN_ENC 12
|
||||||
|
|
||||||
#if ENABLED(TEMP_STAT_LEDS)
|
#undef STAT_LED_RED_PIN
|
||||||
#undef STAT_LED_RED_PIN
|
#undef STAT_LED_BLUE_PIN
|
||||||
#undef STAT_LED_BLUE_PIN
|
#define STAT_LED_RED_PIN 64
|
||||||
#define STAT_LED_RED_PIN 64
|
#define STAT_LED_BLUE_PIN 63
|
||||||
#define STAT_LED_BLUE_PIN 63
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#elif ENABLED(TEMP_STAT_LEDS)
|
#else
|
||||||
|
|
||||||
#define STAT_LED_RED_PIN 6
|
#define STAT_LED_RED_PIN 6
|
||||||
#define STAT_LED_BLUE_PIN 11
|
#define STAT_LED_BLUE_PIN 11
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -117,6 +117,6 @@
|
|||||||
#undef SD_DETECT_PIN
|
#undef SD_DETECT_PIN
|
||||||
#define SD_DETECT_PIN 49 // For easy adapter board
|
#define SD_DETECT_PIN 49 // For easy adapter board
|
||||||
#else
|
#else
|
||||||
#define STAT_LED_RED_PIN 32
|
#define STAT_LED_RED_PIN 32
|
||||||
#define STAT_LED_BLUE_PIN 35
|
#define STAT_LED_BLUE_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
@ -115,5 +115,5 @@
|
|||||||
//
|
//
|
||||||
// Misc. Functions
|
// Misc. Functions
|
||||||
//
|
//
|
||||||
#define STAT_LED_BLUE_PIN -1
|
#define STAT_LED_BLUE_PIN -1
|
||||||
#define STAT_LED_RED_PIN 31
|
#define STAT_LED_RED_PIN 31
|
||||||
|
@ -111,8 +111,8 @@
|
|||||||
//#define UI1 43
|
//#define UI1 43
|
||||||
//#define UI2 37
|
//#define UI2 37
|
||||||
|
|
||||||
#define STAT_LED_BLUE_PIN -1
|
#define STAT_LED_BLUE_PIN -1
|
||||||
#define STAT_LED_RED_PIN 10 // TOOL_0_PWM_PIN
|
#define STAT_LED_RED_PIN 10 // TOOL_0_PWM_PIN
|
||||||
|
|
||||||
//
|
//
|
||||||
// SD Card
|
// SD Card
|
||||||
|
@ -120,9 +120,9 @@
|
|||||||
#define BEEPER_PIN 25
|
#define BEEPER_PIN 25
|
||||||
|
|
||||||
// yellow RED-LED
|
// yellow RED-LED
|
||||||
#define STAT_LED_RED_PIN 16
|
#define STAT_LED_RED_PIN 16
|
||||||
|
|
||||||
// white BLUE-LED
|
// white BLUE-LED
|
||||||
#define STAT_LED_BLUE_PIN 17
|
#define STAT_LED_BLUE_PIN 17
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -131,8 +131,8 @@
|
|||||||
|
|
||||||
#define SDSS 45
|
#define SDSS 45
|
||||||
#define SD_DETECT_PIN -1 // FastIO (Manual says 72 I'm not certain cause I can't test)
|
#define SD_DETECT_PIN -1 // FastIO (Manual says 72 I'm not certain cause I can't test)
|
||||||
#if ENABLED(TEMP_STAT_LEDS)
|
|
||||||
#define STAT_LED_RED_PIN 12 //Non-FastIO
|
#define STAT_LED_RED_PIN 12 //Non-FastIO
|
||||||
#define STAT_LED_BLUE_PIN 10 //Non-FastIO
|
#define STAT_LED_BLUE_PIN 10 //Non-FastIO
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -117,21 +117,18 @@
|
|||||||
|
|
||||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||||
#define BEEPER_PIN 32 //FastIO
|
#define BEEPER_PIN 32 //FastIO
|
||||||
// Pins for DOGM SPI LCD Support
|
|
||||||
#define DOGLCD_A0 42 //Non-FastIO
|
#define DOGLCD_A0 42 //Non-FastIO
|
||||||
#define DOGLCD_CS 43 //Non-FastIO
|
#define DOGLCD_CS 43 //Non-FastIO
|
||||||
#define LCD_SCREEN_ROT_180
|
#define LCD_SCREEN_ROT_180
|
||||||
|
|
||||||
//The encoder and click button (FastIO Pins)
|
// (FastIO Pins)
|
||||||
#define BTN_EN1 26
|
#define BTN_EN1 26
|
||||||
#define BTN_EN2 27
|
#define BTN_EN2 27
|
||||||
#define BTN_ENC 47
|
#define BTN_ENC 47
|
||||||
|
|
||||||
#define SDSS 45
|
#define SDSS 45
|
||||||
#define SD_DETECT_PIN -1 // FastIO (Manual says 72 I'm not certain cause I can't test)
|
#define SD_DETECT_PIN -1 // FastIO (Manual says 72)
|
||||||
|
|
||||||
#if ENABLED(TEMP_STAT_LEDS)
|
#define STAT_LED_RED_PIN 12 //Non-FastIO
|
||||||
#define STAT_LED_RED_PIN 12 //Non-FastIO
|
#define STAT_LED_BLUE_PIN 10 //Non-FastIO
|
||||||
#define STAT_LED_BLUE_PIN 10 //Non-FastIO
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -169,10 +169,8 @@
|
|||||||
|
|
||||||
#define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board
|
#define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board
|
||||||
|
|
||||||
#if ENABLED(TEMP_STAT_LEDS)
|
#define STAT_LED_RED_PIN 22
|
||||||
#define STAT_LED_RED_PIN 22
|
#define STAT_LED_BLUE_PIN 32
|
||||||
#define STAT_LED_BLUE_PIN 32
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
@ -280,10 +280,9 @@
|
|||||||
|
|
||||||
#define KILL_PIN 31
|
#define KILL_PIN 31
|
||||||
|
|
||||||
#if ENABLED(TEMP_STAT_LEDS)
|
#define STAT_LED_RED_PIN 32
|
||||||
#define STAT_LED_RED_PIN 32
|
#define STAT_LED_BLUE_PIN 35
|
||||||
#define STAT_LED_BLUE_PIN 35
|
|
||||||
#endif
|
|
||||||
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
|
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
|
||||||
#define BTN_EN1 35 // reverse if the encoder turns the wrong way.
|
#define BTN_EN1 35 // reverse if the encoder turns the wrong way.
|
||||||
#define BTN_EN2 37
|
#define BTN_EN2 37
|
||||||
|
Loading…
Reference in New Issue
Block a user