I am designing my own shield for the mega2650 that i will use to control my printer. however, when defining pins in the marlin firmware, the pin numbers are the pin numbers of the RAMPS, not the Arduino Mega itself. How do i define pins so that i could write #define HEATER1PIN 5 and it will make heater1pin be on _arduino mega pin 5_ __--NOT--__ _RAMPS pin 5_

Pin 5 = D5 = Servo 3
what is D66 then? there is no pin 66 on the arduino mega. the mega only has 54 pins
D66 = A12
Look at the drawings. It's all there.
Here's a couple of items I found useful.
Curiosity - what does your shield do that RAMPS doesn't?
ooh... I like the finger. lol
Most helpful comment
ooh... I like the finger. lol