Skip to content

Commit 1fefba5

Browse files
committed
Added ability to override the Reticle pin
1 parent 4392f34 commit 1fefba5

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/pinmaps/Pins.Ramps14.h

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33

44
#if defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1280__) || defined(__SAM3X8E__)
55

6+
/*
7+
// The available PWM pins:
8+
// 13 OCR0A
9+
// 10 OCR2A, Dew Heater 3
10+
// 9 OCR2B, Dew Heater 2
11+
// 4 OCR4C, Tone
12+
// 44 OCR5C
13+
// 46 OCR5A, Axis 3 Step
14+
// 45 OCR5B
15+
*/
16+
617
// The multi-purpose pins (Aux3..Aux8 can be analog (pwm/dac) if supported)
718
#define Aux0 11 // Status LED
819
#define Aux1 29 // ESP8266 GPIO0, SPI MISO/Fault
@@ -54,7 +65,9 @@
5465
// The status LED is a two wire jumper with a 10k resistor in series to limit the current to the LED
5566
#define LEDnegPin Aux0 // RAMPS SERVO1 (1=GND, 2=+5, 3=LED-) (active LOW)
5667
#define LEDneg2Pin 6 // RAMPS SERVO2 (1=GND, 2=+5, 3=LED-) (active LOW)
57-
#define ReticlePin 5 // RAMPS SERVO3 (1=GND, 2=+5, 3=LED-) (active LOW)
68+
#ifndef ReticlePin
69+
#define ReticlePin 5 // RAMPS SERVO3 (1=GND, 2=+5, 3=LED-) (active LOW)
70+
#endif
5871

5972
// Pin for a piezo buzzer output on RAMPS Y-MIN
6073
#define TonePin 4 // RAMPS SERVO4 (1=GND, 2=+5, 3=TONE+) (active HIGH)

0 commit comments

Comments
 (0)