Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.163 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.70; '*S*': 0.02; 'python': 0.11; 'received:192.168.1.4': 0.16; 'specific,': 0.16; 'subject:skip:m 10': 0.16; 'subject:python': 0.16; 'language': 0.16; 'help.': 0.21; 'header:User-Agent:1': 0.23; 'bytes': 0.24; 'header:In- Reply-To:1': 0.27; "doesn't": 0.30; 'file': 0.32; 'running': 0.33; 'subject:with': 0.35; 'something': 0.35; 'implement': 0.38; 'needed': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'read': 0.60; 'matter': 0.61; 'pardon': 0.84; 'received:195.238': 0.84; 'received:195.238.6': 0.84; 'received:belgacom.be': 0.84; 'received:isp.belgacom.be': 0.84 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBANBXglJbs+f0/2dsb2JhbAANTcA+gnEKgUCDGgEBBHgRCyEWDwkDAgECAUUTCAKIAqsyik+JDI9mFoQbA5gPlTE Date: Tue, 12 Nov 2013 17:37:13 +0100 From: Antoon Pardon User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130922 Icedove/17.0.9 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Implementing a multivibrator function with python References: <895644e2-cf9c-45fe-a908-0391b65e8614@googlegroups.com> In-Reply-To: <895644e2-cf9c-45fe-a908-0391b65e8614@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1384274301 news.xs4all.nl 15957 [2001:888:2000:d::a6]:44934 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:59220 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. -- Antoon Pardon