-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interruptions support #60
Comments
Hey guys we have a hard issue here.
I guess its possible and will turn Pingo into a serious powerful API. What do you think guys? |
I believe interruptions support is a great feature to have, but I'd like to On Sun, Nov 30, 2014 at 11:33 PM, Lucas Vido [email protected]
Luciano Ramalho Professor em: http://python.pro.br |
Well, I was thinking on the very basic:
|
Hello, I understand Luciano about HOW and WHAT I wonder if you shouldn't pass to callback additional information see http://sourceforge.net/p/raspberry-gpio-python/wiki/Inputs/ Kind regards |
On Mon, Dec 1, 2014 at 11:07 AM, scls19fr [email protected] wrote:
Excellent point! A best practice in callback APIs is to have a Cheers, Luciano
Luciano Ramalho Professor em: http://python.pro.br |
Exposing Board via a HTTP Server with websocket could be the WHAT ;-) |
MQTT and IoT #99 are also example of "WHAT"... A button is connected to a board. When you press this button, an interrupt should occured and a message should be send through MQTT. A second board subscribe to a channel. A led is connected to this second board. When a message is received (button pressed for example), led change it's state. I think this example should show why an event oriented approach (and so interrupts) is necessary. |
Hello,
it will be nice to provide interruptions support for Pingo.
see https://groups.google.com/forum/#!topic/pingo-io/7ekBhz7wYQk
Kind regards
The text was updated successfully, but these errors were encountered: