Cleanup pins files, fixup analogtodigitalpin, etc.

This commit is contained in:
Scott Lahteine
2016-05-07 18:41:20 -07:00
parent d7819298ca
commit 5ca6334fd2
38 changed files with 173 additions and 445 deletions

View File

@@ -43,28 +43,21 @@
#define E0_STEP_PIN 1
#define E0_DIR_PIN 0
#define LED_PIN -1
#define FAN_PIN -1
#if MB(AZTEEG_X1) || MB(STB_11) || MB(MELZI)
#define FAN_PIN 4 // Works for Panelolu2 too
#if MB(MELZI)
#define LED_PIN 27 // On some broken versions of the Sanguino libraries the pin definitions are wrong, so LED_PIN needs to be 28. But you should upgrade your Sanguino libraries! See #368.
#elif MB(STB_11)
#define LCD_PIN_BL 17 // LCD backlight LED
#endif
#endif
#if MB(MELZI)
#define LED_PIN 27 // On some broken versions of the Sanguino libraries the pin definitions are wrong, so LED_PIN needs to be 28. But you should upgrade your Sanguino libraries! See #368.
#elif MB(STB_11)
#define LCD_PIN_BL 17 // LCD backlight LED
#endif
#if ENABLED(Z_PROBE_SLED)
#define SLED_PIN -1
#endif
#define PS_ON_PIN -1
#define KILL_PIN -1
#define HEATER_0_PIN 13 // (extruder)
#define HEATER_1_PIN -1
#define HEATER_2_PIN -1
#if ENABLED(SANGUINOLOLU_V_1_2)
@@ -89,10 +82,7 @@
#endif
#define TEMP_0_PIN 7 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 33 extruder)
#define TEMP_1_PIN -1
#define TEMP_2_PIN -1
#define TEMP_BED_PIN 6 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 34 bed)
#define SDPOWER -1
#define SDSS 31
/**
@@ -190,7 +180,3 @@
#define SD_DETECT_PIN -1
#endif // MAKRPANEL
// #if FAN_PIN == 12 || FAN_PIN ==13
//#define FAN_SOFT_PWM
// #endif