mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-01-04 05:40:31 -07:00
🚸 Some default filament runout pins
This commit is contained in:
parent
c173ecd89a
commit
9a6bf16938
2 changed files with 18 additions and 4 deletions
|
|
@ -22,7 +22,7 @@
|
|||
#pragma once
|
||||
|
||||
/**
|
||||
* Geeetech HJC2560-C Rev 2.x board pin assignments
|
||||
* Geeetech HJC2560-C Rev 1.x and 2.x board pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
@ -78,6 +78,13 @@
|
|||
#endif
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT { 1300, 1300, 1250 }
|
||||
|
||||
//
|
||||
// Filament Runout Sensor
|
||||
//
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN 24 // Filament runout
|
||||
#endif
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
|
|
@ -138,9 +145,6 @@
|
|||
//#ifndef LCD_CONTRAST_PIN
|
||||
// #define LCD_CONTRAST_PIN 5 // LCD_Contrast
|
||||
//#endif
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN 24 // Filament runout
|
||||
#endif
|
||||
#else
|
||||
#define LCD_PINS_D5 21
|
||||
#define LCD_PINS_D6 5
|
||||
|
|
|
|||
|
|
@ -89,6 +89,16 @@
|
|||
#endif
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {1300, 1300, 1250}
|
||||
|
||||
//
|
||||
// Filament Runout Sensor
|
||||
//
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN 54 // ADC0
|
||||
#endif
|
||||
#ifndef FIL_RUNOUT2_PIN
|
||||
#define FIL_RUNOUT2_PIN 55 // ADC1
|
||||
#endif
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue