Browse Source

Always define status LED pins

pull/1/head
Scott Lahteine 8 years ago
parent
commit
ba43277429
  1. 16
      Marlin/pins_AZTEEG_X3.h
  2. 4
      Marlin/pins_AZTEEG_X3_PRO.h
  3. 4
      Marlin/pins_CNCONTROLS_11.h
  4. 4
      Marlin/pins_CNCONTROLS_12.h
  5. 4
      Marlin/pins_MKS_13.h
  6. 8
      Marlin/pins_PRINTRBOARD.h
  7. 11
      Marlin/pins_PRINTRBOARD_REVF.h
  8. 6
      Marlin/pins_RAMBO.h
  9. 7
      Marlin/pins_RAMPS.h

16
Marlin/pins_AZTEEG_X3.h

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

4
Marlin/pins_AZTEEG_X3_PRO.h

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

4
Marlin/pins_CNCONTROLS_11.h

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

4
Marlin/pins_CNCONTROLS_12.h

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

4
Marlin/pins_MKS_13.h

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

8
Marlin/pins_PRINTRBOARD.h

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

11
Marlin/pins_PRINTRBOARD_REVF.h

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

6
Marlin/pins_RAMBO.h

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

7
Marlin/pins_RAMPS.h

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