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

@ -24,9 +24,12 @@
* MKS BASE 1.0 Arduino Mega2560 with RAMPS v1.4 pin assignments
*/
#if HOTENDS > 2
#error "MKS BASE 1.0 supports up to 2 hotends. Comment this line to keep going."
#endif
#define BOARD_NAME "MKS BASE 1.0"
#include "pins_RAMPS_14_EFB.h"
#define HI_VOLT_PIN_D 7
#undef HEATER_1_PIN
#define HEATER_1_PIN 7
#include "pins_RAMPS_14_EFB.h"