Prusa MINI Firmware overview
Main Page
Modules
Classes
Files
File List
File Members
pins_RAMPS_ENDER_4.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 > 1 || E_STEPPERS > 1
25
#error "Ender-4 supports only 1 hotend / E-stepper. Comment out this line to continue."
26
#endif
27
28
#define BOARD_INFO_NAME "Ender-4"
29
30
#include "
pins_RAMPS.h
"
31
32
// The board only has one PWM fan connector. The others are 12V always-on.
33
// The default config uses this pin to control the brightness of the LED
34
// band (case light). Thus the hotend and controller fans are always-on.
35
36
#if ENABLED(CASE_LIGHT_ENABLE)
37
#undef FAN_PIN
38
#ifndef CASE_LIGHT_PIN
39
#define CASE_LIGHT_PIN RAMPS_D9_PIN
40
#endif
41
#endif
pins_RAMPS.h
Prusa-Firmware-Buddy-Private1
lib
Marlin
Marlin
src
pins
ramps
pins_RAMPS_ENDER_4.h
Generated by
1.8.16