Always define status LED pins

master
Scott Lahteine 8 years ago
parent ad691022d7
commit ba43277429

@ -41,16 +41,14 @@
#define DOGLCD_CS 32
#define BTN_ENC 12
#if ENABLED(TEMP_STAT_LEDS)
#undef STAT_LED_RED_PIN
#undef STAT_LED_BLUE_PIN
#define STAT_LED_RED_PIN 64
#define STAT_LED_BLUE_PIN 63
#endif
#undef STAT_LED_RED_PIN
#undef STAT_LED_BLUE_PIN
#define STAT_LED_RED_PIN 64
#define STAT_LED_BLUE_PIN 63
#elif ENABLED(TEMP_STAT_LEDS)
#else
#define STAT_LED_RED_PIN 6
#define STAT_LED_BLUE_PIN 11
#define STAT_LED_RED_PIN 6
#define STAT_LED_BLUE_PIN 11
#endif

@ -117,6 +117,6 @@
#undef SD_DETECT_PIN
#define SD_DETECT_PIN 49 // For easy adapter board
#else
#define STAT_LED_RED_PIN 32
#define STAT_LED_BLUE_PIN 35
#define STAT_LED_RED_PIN 32
#define STAT_LED_BLUE_PIN 35
#endif

@ -115,5 +115,5 @@
//
// Misc. Functions
//
#define STAT_LED_BLUE_PIN -1
#define STAT_LED_RED_PIN 31
#define STAT_LED_BLUE_PIN -1
#define STAT_LED_RED_PIN 31

@ -111,8 +111,8 @@
//#define UI1 43
//#define UI2 37
#define STAT_LED_BLUE_PIN -1
#define STAT_LED_RED_PIN 10 // TOOL_0_PWM_PIN
#define STAT_LED_BLUE_PIN -1
#define STAT_LED_RED_PIN 10 // TOOL_0_PWM_PIN
//
// SD Card

@ -120,9 +120,9 @@
#define BEEPER_PIN 25
// yellow RED-LED
#define STAT_LED_RED_PIN 16
#define STAT_LED_RED_PIN 16
// white BLUE-LED
#define STAT_LED_BLUE_PIN 17
#define STAT_LED_BLUE_PIN 17
#endif

@ -131,8 +131,8 @@
#define SDSS 45
#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_BLUE_PIN 10 //Non-FastIO
#endif
#define STAT_LED_RED_PIN 12 //Non-FastIO
#define STAT_LED_BLUE_PIN 10 //Non-FastIO
#endif

@ -117,21 +117,18 @@
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#define BEEPER_PIN 32 //FastIO
// Pins for DOGM SPI LCD Support
#define DOGLCD_A0 42 //Non-FastIO
#define DOGLCD_CS 43 //Non-FastIO
#define LCD_SCREEN_ROT_180
//The encoder and click button (FastIO Pins)
// (FastIO Pins)
#define BTN_EN1 26
#define BTN_EN2 27
#define BTN_ENC 47
#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_BLUE_PIN 10 //Non-FastIO
#endif
#define STAT_LED_RED_PIN 12 //Non-FastIO
#define STAT_LED_BLUE_PIN 10 //Non-FastIO
#endif

@ -169,10 +169,8 @@
#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_BLUE_PIN 32
#endif
#define STAT_LED_RED_PIN 22
#define STAT_LED_BLUE_PIN 32
#else

@ -280,10 +280,9 @@
#define KILL_PIN 31
#if ENABLED(TEMP_STAT_LEDS)
#define STAT_LED_RED_PIN 32
#define STAT_LED_BLUE_PIN 35
#endif
#define STAT_LED_RED_PIN 32
#define STAT_LED_BLUE_PIN 35
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
#define BTN_EN1 35 // reverse if the encoder turns the wrong way.
#define BTN_EN2 37

Loading…
Cancel
Save