Prusa MINI Firmware overview
pins_MEGACONTROLLER.h File Reference

Go to the source code of this file.

Macros

#define BOARD_INFO_NAME   "Mega Controller"
 
#define SERVO0_PIN   30
 
#define SERVO1_PIN   31
 
#define SERVO2_PIN   32
 
#define SERVO3_PIN   33
 
#define X_MIN_PIN   43
 
#define X_MAX_PIN   42
 
#define Y_MIN_PIN   38
 
#define Y_MAX_PIN   41
 
#define Z_MIN_PIN   40
 
#define Z_MAX_PIN   37
 
#define Z_MIN_PROBE_PIN   37
 
#define X_STEP_PIN   62
 
#define X_DIR_PIN   63
 
#define X_ENABLE_PIN   61
 
#define Y_STEP_PIN   65
 
#define Y_DIR_PIN   66
 
#define Y_ENABLE_PIN   64
 
#define Z_STEP_PIN   68
 
#define Z_DIR_PIN   69
 
#define Z_ENABLE_PIN   67
 
#define E0_STEP_PIN   23
 
#define E0_DIR_PIN   24
 
#define E0_ENABLE_PIN   22
 
#define E1_STEP_PIN   26
 
#define E1_DIR_PIN   27
 
#define E1_ENABLE_PIN   25
 
#define TEMP_0_PIN   0
 
#define TEMP_1_PIN   2
 
#define TEMP_2_PIN   3
 
#define TEMP_BED_PIN   1
 
#define HEATER_0_PIN   29
 
#define HEATER_1_PIN   34
 
#define HEATER_BED_PIN   28
 
#define FAN_PIN   39
 
#define FAN1_PIN   35
 
#define FAN2_PIN   36
 
#define CONTROLLER_FAN_PIN   FAN2_PIN
 
#define FAN_SOFT_PWM
 
#define SDSS   53
 
#define LED_PIN   13
 
#define CASE_LIGHT_PIN   2
 
#define SPINDLE_LASER_PWM_PIN   6
 
#define SPINDLE_LASER_ENA_PIN   7
 
#define SPINDLE_DIR_PIN   8
 

Macro Definition Documentation

◆ BOARD_INFO_NAME

#define BOARD_INFO_NAME   "Mega Controller"

Marlin 3D Printer Firmware Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]

Based on Sprinter and grbl. Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. Mega controller pin assignments

◆ SERVO0_PIN

#define SERVO0_PIN   30

◆ SERVO1_PIN

#define SERVO1_PIN   31

◆ SERVO2_PIN

#define SERVO2_PIN   32

◆ SERVO3_PIN

#define SERVO3_PIN   33

◆ X_MIN_PIN

#define X_MIN_PIN   43

◆ X_MAX_PIN

#define X_MAX_PIN   42

◆ Y_MIN_PIN

#define Y_MIN_PIN   38

◆ Y_MAX_PIN

#define Y_MAX_PIN   41

◆ Z_MIN_PIN

#define Z_MIN_PIN   40

◆ Z_MAX_PIN

#define Z_MAX_PIN   37

◆ Z_MIN_PROBE_PIN

#define Z_MIN_PROBE_PIN   37

◆ X_STEP_PIN

#define X_STEP_PIN   62

◆ X_DIR_PIN

#define X_DIR_PIN   63

◆ X_ENABLE_PIN

#define X_ENABLE_PIN   61

◆ Y_STEP_PIN

#define Y_STEP_PIN   65

◆ Y_DIR_PIN

#define Y_DIR_PIN   66

◆ Y_ENABLE_PIN

#define Y_ENABLE_PIN   64

◆ Z_STEP_PIN

#define Z_STEP_PIN   68

◆ Z_DIR_PIN

#define Z_DIR_PIN   69

◆ Z_ENABLE_PIN

#define Z_ENABLE_PIN   67

◆ E0_STEP_PIN

#define E0_STEP_PIN   23

◆ E0_DIR_PIN

#define E0_DIR_PIN   24

◆ E0_ENABLE_PIN

#define E0_ENABLE_PIN   22

◆ E1_STEP_PIN

#define E1_STEP_PIN   26

◆ E1_DIR_PIN

#define E1_DIR_PIN   27

◆ E1_ENABLE_PIN

#define E1_ENABLE_PIN   25

◆ TEMP_0_PIN

#define TEMP_0_PIN   0

◆ TEMP_1_PIN

#define TEMP_1_PIN   2

◆ TEMP_2_PIN

#define TEMP_2_PIN   3

◆ TEMP_BED_PIN

#define TEMP_BED_PIN   1

◆ HEATER_0_PIN

#define HEATER_0_PIN   29

◆ HEATER_1_PIN

#define HEATER_1_PIN   34

◆ HEATER_BED_PIN

#define HEATER_BED_PIN   28

◆ FAN_PIN

#define FAN_PIN   39

◆ FAN1_PIN

#define FAN1_PIN   35

◆ FAN2_PIN

#define FAN2_PIN   36

◆ CONTROLLER_FAN_PIN

#define CONTROLLER_FAN_PIN   FAN2_PIN

◆ FAN_SOFT_PWM

#define FAN_SOFT_PWM

◆ SDSS

#define SDSS   53

◆ LED_PIN

#define LED_PIN   13

◆ CASE_LIGHT_PIN

#define CASE_LIGHT_PIN   2

◆ SPINDLE_LASER_PWM_PIN

#define SPINDLE_LASER_PWM_PIN   6

◆ SPINDLE_LASER_ENA_PIN

#define SPINDLE_LASER_ENA_PIN   7

◆ SPINDLE_DIR_PIN

#define SPINDLE_DIR_PIN   8