Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #59221

Re: Implementing a multivibrator function with python

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <joel.goldstick@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.042
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'buttons': 0.09; 'hooks': 0.09; 'works.': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'gui': 0.12; '(virtual)': 0.16; 'specific,': 0.16; 'subject:skip:m 10': 0.16; 'subject:python': 0.16; 'language': 0.16; 'wrote:': 0.18; 'help.': 0.21; 'cc:addr:python.org': 0.22; 'bytes': 0.24; 'certainly': 0.24; 'frameworks': 0.24; 'keyboard': 0.24; 'connected': 0.24; 'cc:2**0': 0.24; 'push': 0.26; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'code': 0.31; 'invoke': 0.31; 'file': 0.32; 'url:python': 0.33; 'running': 0.33; 'maybe': 0.34; 'subject:with': 0.35; 'something': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'button': 0.38; 'implement': 0.38; 'nov': 0.38; 'needed': 0.38; 'does': 0.39; '12,': 0.39; 'url:mail': 0.40; 'how': 0.40; 'read': 0.60; 'hardware': 0.61; 'matter': 0.61; 'school': 0.64; 'physical': 0.72; 'electrical': 0.74; 'intrigued': 0.84; 'pardon': 0.84; 'joel': 0.91; 'ports': 0.93; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fjCekcqIds5sMWJREt8y8LiMTBjfuqwf3wuMCFLzVOY=; b=tMPlNF6ZKCIEaW+WB2AFez3KuiU+zJ9wq2+Lk8ChrNvyY+hl/674b/qNDcKhxq5DAR gxFgEvmtNHeJqHD3RHr4UDNBcV1YkOgJ6D7D3cHCDXwYc9XwDUM4wmOQjbWI1gVB2a8Y U+bQYjz7qLTZT9nADsj9Kpg7JHTRUJXTKJ2Wu64Dn2+L4S2cSBzqg1en/n47GGCNVOhy tfKTIixjGVrM1E6zDJBIWKudbARqyPSANIgFce5MciNxWepWiVhbzw2Ng3/pD9iFF1iT bN7CfHH5whI25Zq86XUgFyeYomf22WVW+kRxgwYMl4NRUNU0LsOMfW5o6bf5myTB9kFQ mASg==
MIME-Version 1.0
X-Received by 10.220.147.20 with SMTP id j20mr10074172vcv.21.1384274841168; Tue, 12 Nov 2013 08:47:21 -0800 (PST)
In-Reply-To <52825939.2040203@rece.vub.ac.be>
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 Tue, 12 Nov 2013 11:47:21 -0500
Subject Re: Implementing a multivibrator function with python
From Joel Goldstick <joel.goldstick@gmail.com>
To Antoon Pardon <antoon.pardon@rece.vub.ac.be>
Content-Type text/plain; charset=UTF-8
Cc "python-list@python.org" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2482.1384274849.18130.python-list@python.org> (permalink)
Lines 39
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1384274849 news.xs4all.nl 15908 [2001:888:2000:d::a6]:48005
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:59221

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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