Prusa MINI Firmware overview
Main Page
Modules
Classes
Files
File List
File Members
pins_RAMPS_CREALITY.h
Go to the documentation of this file.
1
/**
2
* Marlin 3D Printer Firmware
3
* Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
*
5
* Based on Sprinter and grbl.
6
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*
21
*/
22
#pragma once
23
24
#if HOTENDS > 2 || E_STEPPERS > 2
25
#error "Creality3D RAMPS supports only 2 hotends / E-steppers. Comment out this line to continue."
26
#endif
27
28
#define BOARD_INFO_NAME "Creality3D RAMPS"
29
30
//
31
// Heaters / Fans
32
//
33
34
// Power outputs EFBF or EFBE
35
#define MOSFET_D_PIN 7
36
37
#define FIL_RUNOUT_PIN 2
38
#if NUM_RUNOUT_SENSORS > 1
39
#define FIL_RUNOUT2_PIN 15 // Creality CR-X can use dual runout sensors
40
#endif
41
42
#define SD_DETECT_PIN 49 // Always define onboard SD detect
43
#define BEEPER_PIN 37 // Always define beeper pin so Play Tone works with ExtUI
44
45
#include "
pins_RAMPS.h
"
46
47
#define EXP1_PIN 65 // A11
48
#define EXP2_PIN 66 // A12
49
#define EXP3_PIN 11 // SERVO0_PIN
50
#define EXP4_PIN 12 // PS_ON_PIN
pins_RAMPS.h
Prusa-Firmware-Buddy-Private1
lib
Marlin
Marlin
src
pins
ramps
pins_RAMPS_CREALITY.h
Generated by
1.8.16