repetier/Repetier-Firmware — pull request #111 by Gadroc (2013-05-19 19:11:25+00:00)
Title: Support for dual Z drivers

Adds support for using two drivers for Z axis. Adds a few new pin definitions which work just like existing Z PINS.
Z2_ENABLE_PIN
Z2_STEP_PIN
Z2_DIR_PIN

In addition defines Z2_PINS macro to add Z2 pins to the sensitive pins list.

Example Definition in pins.h for using the sixth stepper channel on a RUMBA as a secondary Z driver:
#define Z2_STEP_PIN 29
#define Z2_DIR_PIN 28
#define Z2_ENABLE_PIN 39
#define Z2_PINS Z2_STEP_PIN, Z2_DIR_PIN, Z2_ENABLE_PIN,