Skip to content

Commit

Permalink
Added ability to override the Reticle pin
Browse files Browse the repository at this point in the history
  • Loading branch information
hjd1964 committed Apr 21, 2021
1 parent 4392f34 commit 1fefba5
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/pinmaps/Pins.Ramps14.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@

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

/*
// The available PWM pins:
// 13 OCR0A
// 10 OCR2A, Dew Heater 3
// 9 OCR2B, Dew Heater 2
// 4 OCR4C, Tone
// 44 OCR5C
// 46 OCR5A, Axis 3 Step
// 45 OCR5B
*/

// The multi-purpose pins (Aux3..Aux8 can be analog (pwm/dac) if supported)
#define Aux0 11 // Status LED
#define Aux1 29 // ESP8266 GPIO0, SPI MISO/Fault
Expand Down Expand Up @@ -54,7 +65,9 @@
// The status LED is a two wire jumper with a 10k resistor in series to limit the current to the LED
#define LEDnegPin Aux0 // RAMPS SERVO1 (1=GND, 2=+5, 3=LED-) (active LOW)
#define LEDneg2Pin 6 // RAMPS SERVO2 (1=GND, 2=+5, 3=LED-) (active LOW)
#define ReticlePin 5 // RAMPS SERVO3 (1=GND, 2=+5, 3=LED-) (active LOW)
#ifndef ReticlePin
#define ReticlePin 5 // RAMPS SERVO3 (1=GND, 2=+5, 3=LED-) (active LOW)
#endif

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

0 comments on commit 1fefba5

Please sign in to comment.