From f2440452459c7f3aefbdd66dbb84cb30ff86cf63 Mon Sep 17 00:00:00 2001
From: bonm014 <mkdebont@zonnet.nl>
Date: Thu, 3 Jul 2014 21:01:41 +0200
Subject: [PATCH 1/3] Update pins.h

Leapfrog board added to the pin list
---
 Marlin/pins.h | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/Marlin/pins.h b/Marlin/pins.h
index c3644a086a..19432aaeee 100644
--- a/Marlin/pins.h
+++ b/Marlin/pins.h
@@ -94,6 +94,72 @@
 
 #endif /* 88 */
 
+/****************************************************************************************
+* Leapfrog Driver board
+* 
+****************************************************************************************/
+#if MOTHERBOARD == 999  // Leapfrog board
+#define KNOWN_BOARD 1
+
+#ifndef __AVR_ATmega1280__
+ #ifndef __AVR_ATmega2560__
+ #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
+ #endif
+#endif
+
+#define X_STEP_PIN         28
+#define X_DIR_PIN          63
+#define X_ENABLE_PIN       29
+#define X_MIN_PIN          47
+#define X_MAX_PIN          -1   //2 //Max endstops default to disabled "-1", set to commented value to enable.
+
+#define Y_STEP_PIN         14 // A6
+#define Y_DIR_PIN          15 // A0
+#define Y_ENABLE_PIN       39
+#define Y_MIN_PIN          48
+#define Y_MAX_PIN          -1   //15
+
+#define Z_STEP_PIN         31 // A2
+#define Z_DIR_PIN          32 // A6
+#define Z_ENABLE_PIN       30 // A1
+#define Z_MIN_PIN          49
+#define Z_MAX_PIN          -1
+
+#define E0_STEP_PIN         34  //34
+#define E0_DIR_PIN          35 //35
+#define E0_ENABLE_PIN       33 //33
+
+#define E1_STEP_PIN         37 //37
+#define E1_DIR_PIN          40 //40
+#define E1_ENABLE_PIN       36 //36
+
+#define Y2_STEP_PIN         37
+#define Y2_DIR_PIN          40
+#define Y2_ENABLE_PIN       36
+
+#define SDPOWER            -1
+#define SDSS               11
+#define SDCARDDETECT       -1 // 10 optional also used as mode pin
+#define LED_PIN            13
+#define FAN_PIN            7
+#define PS_ON_PIN          -1
+#define KILL_PIN           -1
+#define SOL1_PIN   16
+#define SOL2_PIN    17
+
+#define HEATER_0_PIN       9
+#define HEATER_1_PIN       8 // 12
+#define HEATER_2_PIN       11 //-1 // 13
+#define TEMP_0_PIN         13 //D27   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
+#define TEMP_1_PIN         15 // 1
+#define TEMP_2_PIN         -1 // 2
+#define HEATER_BED_PIN     10 // 14/15
+#define TEMP_BED_PIN       14 // 1,2 or I2C
+/*  Unused (1) (2) (3) 4 5 6 7 8 9 10 11 12 13 (14) (15) (16) 17 (18) (19) (20) (21) (22) (23) 24 (25) (26) (27) 28 (29) (30) (31)  */
+
+
+#endif
+
 /****************************************************************************************
 *
 *

From b5417be1096feca9af4f8564bca8b81ceb06c21f Mon Sep 17 00:00:00 2001
From: bonm014 <mkdebont@zonnet.nl>
Date: Thu, 3 Jul 2014 21:03:22 +0200
Subject: [PATCH 2/3] Update Configuration.h

Leapfrog added to the board list
---
 Marlin/Configuration.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h
index 46d6b96dd1..7f228b55c2 100644
--- a/Marlin/Configuration.h
+++ b/Marlin/Configuration.h
@@ -72,6 +72,7 @@
 // 301= Rambo
 // 21 = Elefu Ra Board (v3)
 // 88 = 5DPrint D8 Driver Board
+// 999 = Leapfrog
 
 #ifndef MOTHERBOARD
 #define MOTHERBOARD 7

From 32a6451ad8b9fe5c7d7f963b9883ef0584843c39 Mon Sep 17 00:00:00 2001
From: bonm014 <mkdebont@zonnet.nl>
Date: Thu, 3 Jul 2014 21:15:03 +0200
Subject: [PATCH 3/3] Add leapfrog and dual Y/Z

I have added the pin set for the leapfrog and the support of dual Y and Z
---
 Marlin/pins.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Marlin/pins.h b/Marlin/pins.h
index 19432aaeee..3216380006 100644
--- a/Marlin/pins.h
+++ b/Marlin/pins.h
@@ -137,6 +137,10 @@
 #define Y2_DIR_PIN          40
 #define Y2_ENABLE_PIN       36
 
+#define Z2_STEP_PIN         37
+#define Z2_DIR_PIN          40
+#define Z2_ENABLE_PIN       36
+
 #define SDPOWER            -1
 #define SDSS               11
 #define SDCARDDETECT       -1 // 10 optional also used as mode pin