1

I want to know how to send data from raspberry pi to pc using push button . For example, from a circuitry connected with the raspberry pi , i hit the push button then maybe it will sent to the pc/browser and show a message 1 for example and maybe click twice at one time then is displays a 0.

closed as too broad by Gerben, lenik, syb0rg, RPiAwesomeness, Butters Feb 27 '14 at 16:20

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • How is the pc connected to the raspberry pi? (Serial, Ethernet/WLAN, etc) – HectorLector Feb 12 '14 at 12:25
1

To detect a button in GPIO, try the https://projects.drogon.net/raspberry-pi/wiringpi/the-gpio-utility/.

With a bash script you can use this tool to detect and send a signal to PC.

Now the second part, how the two will be connected? If LAN, you could use a simple webserver in your pi, with some push server or node js to run your script and show the result in the PC browser.

Not the answer you're looking for? Browse other questions tagged or ask your own question.