Consolidate setting of RAMPS High Voltage PWM outputs

This commit is contained in:
Scott Lahteine
2016-07-29 16:13:19 -07:00
parent bdac2eb13a
commit 3865843283
7 changed files with 88 additions and 49 deletions

View File

@@ -29,12 +29,15 @@
* MKS v1.4 (Extruder, Extruder, Fan, Bed)
*/
#if HOTENDS > 2
#error "MKS 1.3/1.4 supports up to 2 hotends. Comment this line to keep going."
#endif
#define BOARD_NAME "MKS > v1.3"
#include "pins_RAMPS_14_EFB.h"
#define HI_VOLT_PIN_D 7
#undef HEATER_1_PIN
#define HEATER_1_PIN 7 // EXTRUDER 2 (-1 on RAMPS 1.4)
#include "pins_RAMPS_14_EFB.h"
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
/**