Wanhao Duplicator i3 Plus pins create (#12701)

This commit is contained in:
Ludy
2018-12-21 00:30:36 +01:00
committed by Scott Lahteine
parent 33abb86b7e
commit f7127c44f8
4 changed files with 193 additions and 4 deletions

View File

@@ -21,14 +21,16 @@
*/
/**
* MegaTronics v3.0 / v3.1 pin assignments
* MegaTronics v3.0 / v3.1 / v3.2 pin assignments
*/
#ifndef __AVR_ATmega2560__
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#if MB(MEGATRONICS_31)
#if MB(MEGATRONICS_32)
#define BOARD_NAME "Megatronics v3.2"
#elif MB(MEGATRONICS_31)
#define BOARD_NAME "Megatronics v3.1"
#else
#define BOARD_NAME "Megatronics v3.0"
@@ -161,7 +163,7 @@
#define SHIFT_OUT 34
#define SHIFT_EN 44
#if MB(MEGATRONICS_31)
#if MB(MEGATRONICS_31) || MB(MEGATRONICS_32)
#define SD_DETECT_PIN 56
#endif