Prusa MINI Firmware overview
pins_MEGATRONICS.h File Reference

Go to the source code of this file.

Macros

#define BOARD_INFO_NAME   "Megatronics"
 
#define X_MIN_PIN   41
 
#define X_MAX_PIN   37
 
#define Y_MIN_PIN   14
 
#define Y_MAX_PIN   15
 
#define Z_MIN_PIN   18
 
#define Z_MAX_PIN   19
 
#define Z_MIN_PROBE_PIN   19
 
#define X_STEP_PIN   26
 
#define X_DIR_PIN   28
 
#define X_ENABLE_PIN   24
 
#define Y_STEP_PIN   60
 
#define Y_DIR_PIN   61
 
#define Y_ENABLE_PIN   22
 
#define Z_STEP_PIN   54
 
#define Z_DIR_PIN   55
 
#define Z_ENABLE_PIN   56
 
#define E0_STEP_PIN   31
 
#define E0_DIR_PIN   32
 
#define E0_ENABLE_PIN   38
 
#define E1_STEP_PIN   34
 
#define E1_DIR_PIN   36
 
#define E1_ENABLE_PIN   30
 
#define TEMP_0_PIN   13
 
#define TEMP_1_PIN   15
 
#define TEMP_BED_PIN   14
 
#define HEATER_0_PIN   9
 
#define HEATER_1_PIN   8
 
#define HEATER_BED_PIN   10
 
#define FAN_PIN   7
 
#define SDSS   53
 
#define LED_PIN   13
 
#define PS_ON_PIN   12
 
#define CASE_LIGHT_PIN   2
 
#define BEEPER_PIN   33
 
#define SPINDLE_LASER_PWM_PIN   3
 
#define SPINDLE_LASER_ENA_PIN   4
 
#define SPINDLE_DIR_PIN   11
 

Macro Definition Documentation

◆ BOARD_INFO_NAME

#define BOARD_INFO_NAME   "Megatronics"

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/. MegaTronics pin assignments

◆ X_MIN_PIN

#define X_MIN_PIN   41

◆ X_MAX_PIN

#define X_MAX_PIN   37

◆ Y_MIN_PIN

#define Y_MIN_PIN   14

◆ Y_MAX_PIN

#define Y_MAX_PIN   15

◆ Z_MIN_PIN

#define Z_MIN_PIN   18

◆ Z_MAX_PIN

#define Z_MAX_PIN   19

◆ Z_MIN_PROBE_PIN

#define Z_MIN_PROBE_PIN   19

◆ X_STEP_PIN

#define X_STEP_PIN   26

◆ X_DIR_PIN

#define X_DIR_PIN   28

◆ X_ENABLE_PIN

#define X_ENABLE_PIN   24

◆ Y_STEP_PIN

#define Y_STEP_PIN   60

◆ Y_DIR_PIN

#define Y_DIR_PIN   61

◆ Y_ENABLE_PIN

#define Y_ENABLE_PIN   22

◆ Z_STEP_PIN

#define Z_STEP_PIN   54

◆ Z_DIR_PIN

#define Z_DIR_PIN   55

◆ Z_ENABLE_PIN

#define Z_ENABLE_PIN   56

◆ E0_STEP_PIN

#define E0_STEP_PIN   31

◆ E0_DIR_PIN

#define E0_DIR_PIN   32

◆ E0_ENABLE_PIN

#define E0_ENABLE_PIN   38

◆ E1_STEP_PIN

#define E1_STEP_PIN   34

◆ E1_DIR_PIN

#define E1_DIR_PIN   36

◆ E1_ENABLE_PIN

#define E1_ENABLE_PIN   30

◆ TEMP_0_PIN

#define TEMP_0_PIN   13

◆ TEMP_1_PIN

#define TEMP_1_PIN   15

◆ TEMP_BED_PIN

#define TEMP_BED_PIN   14

◆ HEATER_0_PIN

#define HEATER_0_PIN   9

◆ HEATER_1_PIN

#define HEATER_1_PIN   8

◆ HEATER_BED_PIN

#define HEATER_BED_PIN   10

◆ FAN_PIN

#define FAN_PIN   7

◆ SDSS

#define SDSS   53

◆ LED_PIN

#define LED_PIN   13

◆ PS_ON_PIN

#define PS_ON_PIN   12

◆ CASE_LIGHT_PIN

#define CASE_LIGHT_PIN   2

◆ BEEPER_PIN

#define BEEPER_PIN   33

◆ SPINDLE_LASER_PWM_PIN

#define SPINDLE_LASER_PWM_PIN   3

◆ SPINDLE_LASER_ENA_PIN

#define SPINDLE_LASER_ENA_PIN   4

◆ SPINDLE_DIR_PIN

#define SPINDLE_DIR_PIN   11