to detect the button press and light up the led on my Raspberry Pi