Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #59221
| References | <c763cc2a-83d2-4ed7-9df6-83371e83d841@googlegroups.com> <mailman.2367.1384167379.18130.python-list@python.org> <895644e2-cf9c-45fe-a908-0391b65e8614@googlegroups.com> <52825939.2040203@rece.vub.ac.be> |
|---|---|
| Date | 2013-11-12 11:47 -0500 |
| Subject | Re: Implementing a multivibrator function with python |
| From | Joel Goldstick <joel.goldstick@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2482.1384274849.18130.python-list@python.org> (permalink) |
On Tue, Nov 12, 2013 at 11:37 AM, Antoon Pardon <antoon.pardon@rece.vub.ac.be> wrote: > Op 12-11-13 15:44, JL schreef: >> I am actually running python on raspberry pi. The trigger event is a button-press. > > That doesn't help. What does that button-press cause in terms of the OS. Does > it cause a signal? Does it produce a number of bytes that can be read from > some file like object? Something else? > > This is not python specific, the answer to those questions is needed no matter > what language you use to implement your function. This interests me because I started out in Electrical engineering school in college. I'm intrigued by raspberry pi. I bet you would find specific answers reading about how the hardware works. Does Raspberry pi come with push buttons that are connected to some io ports or a usb port or a keyboard or? If there is no physical switch, one of the gui frameworks for python certainly will have hooks to invoke code when a (virtual) button is pressed. Maybe find a Raspberry pi newsgroup? > > -- > Antoon Pardon > > > > -- > https://mail.python.org/mailman/listinfo/python-list -- Joel Goldstick http://joelgoldstick.com
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Implementing a multivibrator function with python JL <lightaiyee@gmail.com> - 2013-11-11 01:41 -0800
Re: Implementing a multivibrator function with python Dave Angel <davea@davea.name> - 2013-11-11 04:56 -0600
Re: Implementing a multivibrator function with python JL <lightaiyee@gmail.com> - 2013-11-12 06:44 -0800
Re: Implementing a multivibrator function with python unknown <unknown@unknown.com> - 2013-11-12 16:04 +0000
Re: Implementing a multivibrator function with python Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-11-12 17:37 +0100
Re: Implementing a multivibrator function with python Joel Goldstick <joel.goldstick@gmail.com> - 2013-11-12 11:47 -0500
Re: Implementing a multivibrator function with python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-11-12 19:42 -0500
Re: Implementing a multivibrator function with python Terry Reedy <tjreedy@udel.edu> - 2013-11-11 05:58 -0500
Re: Implementing a multivibrator function with python Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-11-11 15:00 +0100
csiph-web