I am new user of raspberry pi. I have two buttons, and some code to run, yet the led will not react to the buttons. It's probably a easy fix, but keep in mind, I am new to robotic and have only started programming 2 years ago, so I might need some dumbed down responses. Any help is appreciated.
If you cannot see the gpio pins here is a text version. The commas are where the cords connect. ..,.......,......... next row of gpio .,,.................
sudo pigpiod
thenpigs w 25 1
1
when you post a code listing, do not post a picture of text, post the text itself ... that way your code can be copied and tested ... use the{}
button to format the code so that it is readable in the web browser .......2
you can delete your own comments so that your post is not cluttered .........3
use this to refer to pins pinout.xyzpigs r 2 r 3
to read buttons 2 and 3. Try with and without the buttons pressed. Do they change? At a guess I'd say one or both sticks at 1.