Mail LinkedIn Instagram
this is for our buttons. The reason you want to declare this at the top of your document is so you can later on reference to button_1. This way, if you want to change the port of button_1, you don’t need to change it for every single line. You just change the variable on top

pinMode(button_1,INPUT);