This 2-part Raspberry Pi GPIO tutorial shows how to correctly use buttons with wiringPi. While I use the buttons to control LEDs, you can use the same approach with any other electronic components (or code in a subroutine/function in general).
Home Page:https://www.youtube.com/watch?v=9Znf0CnsbXI
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool