Browse Source

Merge pull request #3654 from thinkyhead/rc_cleanup_pins

Pins cleanups
pull/1/head
Scott Lahteine 8 years ago
parent
commit
196af30467
  1. 2
      Marlin/macros.h
  2. 3
      Marlin/pins.h
  3. 12
      Marlin/pins_AZTEEG_X3_PRO.h
  4. 4
      Marlin/ultralcd.h

2
Marlin/macros.h

@ -60,4 +60,6 @@
#define PENDING(NOW,SOON) ((long)(NOW-(SOON))<0)
#define ELAPSED(NOW,SOON) (!PENDING(NOW,SOON))
#define NOOP do{}while(0)
#endif //__MACROS_H

3
Marlin/pins.h

@ -270,7 +270,8 @@
X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, \
Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, \
Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, Z_MIN_PROBE_PIN, \
PS_ON_PIN, HEATER_BED_PIN, FAN_PIN, \
PS_ON_PIN, HEATER_BED_PIN, FAN_PIN, CONTROLLERFAN_PIN, \
EXTRUDER_0_AUTO_FAN_PIN, EXTRUDER_1_AUTO_FAN_PIN, EXTRUDER_2_AUTO_FAN_PIN, EXTRUDER_3_AUTO_FAN_PIN, \
_E0_PINS _E1_PINS _E2_PINS _E3_PINS \
analogInputToDigitalPin(TEMP_BED_PIN) \
}

12
Marlin/pins_AZTEEG_X3_PRO.h

@ -28,6 +28,8 @@
#undef FAN_PIN
#define FAN_PIN 6 //Part Cooling System
#undef BEEPER_PIN
#define BEEPER_PIN 33
#define CONTROLLERFAN_PIN 4 //Pin used for the fan to cool motherboard (-1 to disable)
//Fans/Water Pump to cool the hotend cool side.
@ -55,7 +57,8 @@
#define Z_MIN_PIN 19
#define Z_MAX_PIN 18
#endif
//
#if ENABLED(Z_MIN_PROBE_ENDSTOP)
//#undef Z_MIN_PIN
//#define Z_MIN_PIN 15
@ -95,10 +98,11 @@
#define TC2 5 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
//
//These Servo pins are for when they are defined. Tested for usage with bed leveling
//on a Delta with 1 servo. Running through the Z servo endstop in code.
//Physical wire attachment was done on EXT1 on the GND, 5V, and D47 pins.
// These Servo pins are for when they are defined. Tested for usage with bed leveling
// on a Delta with 1 servo. Running through the Z servo endstop in code.
// Physical wire attachment was done on EXT1 on the GND, 5V, and D47 pins.
//
#undef SERVO0_PIN
#define SERVO0_PIN 47
//LCD Pins//

4
Marlin/ultralcd.h

@ -156,8 +156,8 @@
FORCE_INLINE void lcd_reset_alert_level() {}
FORCE_INLINE bool lcd_detected(void) { return true; }
#define LCD_MESSAGEPGM(x) do{}while(0)
#define LCD_ALERTMESSAGEPGM(x) do{}while(0)
#define LCD_MESSAGEPGM(x) NOOP
#define LCD_ALERTMESSAGEPGM(x) NOOP
#endif //ULTRA_LCD

Loading…
Cancel
Save