I’m using the Jetson xavier NX module.
We are conducting button & LED experiments using GPIO.
However, when the button is pressed, the LED keeps on becoming HIGH.
Even if you pull out the jump line and put it back in, it’s still HIGH.
I downloaded it from this site and did not operate anything else.
The buttons are pin1 (3.3v), pin6 (GND), and pin18.
The LEDs are pin6 (GND) and pin12.
The resistance on the button is 10k, and the resistance on the LED is 330.
It’s a picture of a circuit diagram and code.