A couple of things. First, do you know what Arduino graphics library your display uses? Second, pin 13 on the Arduino family of controllers is usually tied to the onboard LED as seen in the example Blink sketch. That is a general purpose I/O pin. Therefore, it would seem to me that you should be able to use any of the Mega's general purpose I/O pins for whatever you want to connect to it. Obviously, you'll need to change the code so it looks for the new pin number instead of pin 13. Just be sure that any device you connect to an I/O pin doesn't carry more than 5V or draw much over 35mA. Also, save the analog pins for other uses and use the digital I/O pins.
Jack, W8TEE
On Friday, July 24, 2020, 4:17:08 PM EDT, John Galway via groups.io <jjgalway@...> wrote:
OK now that you know what the board looks like how to I connect a output that works on pin 13 and two inputs that also work on pin 13 so I can use them with the setup I have .? I tested the outputs and inputs on other pins and they worked there also.? With all the other pins exposed can I use them in place of pin 13?? If so how?
John Galway
KH6JTE
PS.? It was you AA that I built got this bug into me.
On Friday, July 24, 2020, 3:09:28 PM CDT, jjpurdum via groups.io <jjpurdum@...> wrote:
That would be even easier since the pin sockets are exposed. My display for the Mega looks like:
which covers up the pins.
Jack, W8TEE
On Friday, July 24, 2020, 3:58:54 PM EDT, John Galway via groups.io <jjgalway@...> wrote:
This is what the Mega 2560 with the LCD shield on it.