How to identify which pins are electrically connected in a button

The other day, I was asking chatgpt to teach me about buttons, i couldn't understand which pins are electrically connected
9 Replies
Maverick
Maverick4w ago
https://www.teachwithict.com/uploads/5/5/8/2/5582303/published/button-fig-1.png You can also check for continuity using a multimeter to determine which pins are connected to each other.
Pranav
PranavOP4w ago
could i put the wires diagonally like a connected to digital 2 and d connected to gnd
Maverick
Maverick4w ago
Yes.
Pranav
PranavOP4w ago
thanks
Coil
Coil4w ago
btw hate to be a stickler but every. single. time. ive used chat gpt it would only worsen my code, try avoiding it
Pranav
PranavOP3w ago
oh, so where do i do then
Maverick
Maverick3w ago
Just do a search on google or duckduckgo for "Arduino button digital input" or something similar, rather than using a chat bot. This is the first result I got. https://docs.arduino.cc/built-in-examples/digital/Button/
Robert Squires
Can I get a circuit diagram for the MEGA 2560, I am particularly interested in the 3.3v regulator.
AnonEngineering
yes, search for Mega2560 schematic

Did you find this page helpful?