Need help with Mega 2560 membran switch.

I cannot get any code to work with the membrane switch. Can someone please tell me or give me some code that will work with the membrane switch.

Kind regards

How do you expect us to be able to help you when you have not posted your code or posted a link to the datasheet for the membrane switch or posted a diagram showing how you have everything connected ?

It's a bit like calling in to a garage to have your car serviced without bringing the car.

...R

Your post made me realize more things.