On the Repetier firmware, waht do the pins in pins.h and uiconfig.h refer to?
for example, in the following, what are pins 54, 55 & 39 in the pins.h for a Ramps 1.3 board?
#define X_STEP_PIN 54
#define X_DIR_PIN 55
#define X_ENABLE_PIN 38
Trying to trace them through the schematics for Ramps 1.3 and Arduino MEGA 2560 they seem to be MCU pins 97, 96 and 50. I can't see anything else on the schematics that they may tie up with.
Further information: I have a number of bits like SD readers (sdramps), LCD displays etc., which I am trying to get to work. After the usual initial "plug it in and see if it works" (it didn't) I started looking at the configuration to check if the pin assignments were right - resulting in confusion only.
Mike.
Ah! light dawns. Anything on the AUX4 port and some other AUX ports, the D numbers like D31 would tie up with 31 on pins.h, while numbers higher the 53 are A0 to A15 (Ramps pin is "D" plus pin number in header file unless number in header file is greater than 53 when it is "A" minus 54. So pin 54 is A0. Simples.:)
Mike
for example, in the following, what are pins 54, 55 & 39 in the pins.h for a Ramps 1.3 board?
#define X_STEP_PIN 54
#define X_DIR_PIN 55
#define X_ENABLE_PIN 38
Trying to trace them through the schematics for Ramps 1.3 and Arduino MEGA 2560 they seem to be MCU pins 97, 96 and 50. I can't see anything else on the schematics that they may tie up with.
Further information: I have a number of bits like SD readers (sdramps), LCD displays etc., which I am trying to get to work. After the usual initial "plug it in and see if it works" (it didn't) I started looking at the configuration to check if the pin assignments were right - resulting in confusion only.
Mike.
Ah! light dawns. Anything on the AUX4 port and some other AUX ports, the D numbers like D31 would tie up with 31 on pins.h, while numbers higher the 53 are A0 to A15 (Ramps pin is "D" plus pin number in header file unless number in header file is greater than 53 when it is "A" minus 54. So pin 54 is A0. Simples.:)
Mike