Firmware2/Marlin/src/pins/ramps/pins_DAGOMA_F5.h

69 lines
1.8 KiB
C
Raw Normal View History

2019-06-04 05:49:19 +02:00
/**
* Marlin 3D Printer Firmware
2020-02-03 15:00:57 +01:00
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
2019-06-04 05:49:19 +02:00
*
* Based on Sprinter and grbl.
2019-06-28 06:57:50 +02:00
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
2019-06-04 05:49:19 +02:00
*
* 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
2020-07-23 05:20:14 +02:00
* along with this program. If not, see <https://www.gnu.org/licenses/>.
2019-06-04 05:49:19 +02:00
*
*/
2019-07-05 05:44:12 +02:00
#pragma once
2019-06-04 05:49:19 +02:00
#if HOTENDS > 2 || E_STEPPERS > 2
2020-10-30 02:02:29 +01:00
#error "Dagoma3D F5 supports only 2 hotends / E-steppers. Comment out this line to continue."
2019-06-04 05:49:19 +02:00
#endif
2020-10-30 02:02:29 +01:00
#define BOARD_INFO_NAME "Dagoma3D F5"
2019-06-04 05:49:19 +02:00
2020-10-30 02:02:29 +01:00
//
// Endstops
//
2020-11-07 23:53:37 +01:00
#define X_STOP_PIN 2
#define Y_STOP_PIN 3
#define Z_STOP_PIN 15
2020-10-30 02:02:29 +01:00
2020-11-07 23:53:37 +01:00
#define FIL_RUNOUT_PIN 39
2020-10-30 02:02:29 +01:00
#if EXTRUDERS > 1
2020-11-07 23:53:37 +01:00
#define FIL_RUNOUT2_PIN 14
2020-10-30 02:02:29 +01:00
#endif
2019-06-04 05:49:19 +02:00
2020-10-30 02:02:29 +01:00
//
// LCD delays
//
#if HAS_MARLINUI_U8GLIB
#define BOARD_ST7920_DELAY_1 DELAY_NS(0)
#define BOARD_ST7920_DELAY_2 DELAY_NS(250)
#define BOARD_ST7920_DELAY_3 DELAY_NS(250)
#endif
2019-06-04 05:49:19 +02:00
2019-06-06 04:32:10 +02:00
//
2020-10-30 02:02:29 +01:00
// DAC steppers
//
#define HAS_MOTOR_CURRENT_DAC
#define DAC_STEPPER_ORDER { 0, 1, 2, 3 }
#define DAC_STEPPER_SENSE 0.11
#define DAC_STEPPER_ADDRESS 0
#define DAC_STEPPER_MAX 4096
#define DAC_STEPPER_VREF 1
#define DAC_STEPPER_GAIN 0
#define DAC_OR_ADDRESS 0x00
//
// Import default RAMPS 1.4 pins
2019-06-06 04:32:10 +02:00
//
2019-06-04 05:49:19 +02:00
#include "pins_RAMPS.h"