Author Options:

How to wire a button with light to an arduino mini. Plus the code to use it as a spacebar. Help!? Answered

I have a big red dome momentary button and an arduino mini. The dome button has a light. I'm trying to wire it to behave as a spacebar for a photobooth. I also have no idea how to write the code for it. Yep, sure need HELP! Thanks everyone.