Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.069 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:skip:m 10': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'help.': 0.21; 'header :User-Agent:1': 0.23; 'driven': 0.24; 'mon,': 0.24; 'environment': 0.24; 'question': 0.24; 'header:X-Complaints-To:1': 0.27; 'header :In-Reply-To:1': 0.27; 'probably': 0.32; 'another': 0.32; 'running': 0.33; 'sense': 0.34; 'subject:with': 0.35; 'nov': 0.38; 'somebody': 0.38; 'to:addr:python-list': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'duration': 0.60; 'extended': 0.61; "you're": 0.61; 'name': 0.63; 'high': 0.63; 'such': 0.63; 'more': 0.64; 'electronics.': 0.84; 'received:108': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dave Angel Subject: Re: Implementing a multivibrator function with python Date: Mon, 11 Nov 2013 04:56:03 -0600 References: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: pool-108-12-92-40.hstntx.dsl-w.verizon.net In-Reply-To: User-Agent: Groundhog Newsreader for Android 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: 1384167379 news.xs4all.nl 15934 [2001:888:2000:d::a6]:37229 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:59062 On Mon, 11 Nov 2013 01:41:58 -0800 (PST), JL wrote: > - If the event happens again before the 5secs expire, the high duration will be extended by another 5 secs. This works like a retriggerable multivibrator for those who are into electronics. More precisely a retriggerable monostable multivibrator. The question makes little sense unless you're running in an event driven environment, such as a gui. Name the environment and somebody can probably help. -- DaveA