Reads the buttons connected to Arduino pins.
Can be used to read the condition of the button when it is pressed and held