Go to advanced search

by trippes
Wed Mar 26, 2014 10:09 am
Forum: Beginners
Topic: GPIO and a button - no breadboard
Replies: 12
Views: 7490

Re: GPIO and a button - no breadboard

To answer your question yes, you can run code on a button press rather than lighting an LED (what everyone's obsession with LEDs is I'm not sure :lol:) This tutorial shows you how to play a music file, but you can substitute the mpg321 command with any command you choose. Looks like you will need a...
by trippes
Wed Mar 26, 2014 10:07 am
Forum: Beginners
Topic: GPIO and a button - no breadboard
Replies: 12
Views: 7490

Re: GPIO and a button - no breadboard

Hi all - apologies if this post is in the wrong place. I did do a quick search on GPIO input and the results seemed to come from all categories :-) I have been reading how it is possible to use the GPIO and a button to make the pi detect if the button has been pressed and perform an action (run som...
by trippes
Tue Mar 25, 2014 9:59 pm
Forum: Beginners
Topic: GPIO and a button - no breadboard
Replies: 12
Views: 7490

Re: GPIO and a button - no breadboard

I did do a quick search on GPIO input and the results seemed to come from all categories :-) Please search better. There are tons of tutorials and examples. Many including pictures and video, which you won't get here. What a helpful comment - thanks so much. I specifically stated that I had perform...
by trippes
Tue Mar 25, 2014 1:44 pm
Forum: General discussion
Topic: GPIO and Buttons
Replies: 12
Views: 3157

Re: GPIO and Buttons

Hi all this is a similar post to mine - but with many more answers - which is great :-). I have no intention/desire to hijack this post but I would like to add in my thoughts I think I now understand - the resistor offers protection to the pi in case voltage "in/out" is configured correctly. However...
by trippes
Tue Mar 25, 2014 1:29 pm
Forum: Beginners
Topic: GPIO and a button - no breadboard
Replies: 12
Views: 7490

Re: GPIO and a button - no breadboard

Hi JRV - thanks for taking the time to reply.

referring to my post - I don't need an LED. I just want a push button switch to invoke some code

Any thoughts ?

Thanks
si
by trippes
Mon Mar 24, 2014 12:55 pm
Forum: Beginners
Topic: GPIO and a button - no breadboard
Replies: 12
Views: 7490

GPIO and a button - no breadboard

Hi all - apologies if this post is in the wrong place. I did do a quick search on GPIO input and the results seemed to come from all categories :-) I have been reading how it is possible to use the GPIO and a button to make the pi detect if the button has been pressed and perform an action (run some...

Go to advanced search