Implementing a multivibrator function with python

JL lightaiyee at gmail.com
Tue Nov 12 09:44:05 EST 2013


I am actually running python on raspberry pi. The trigger event is a button-press.

On Monday, November 11, 2013 6:56:03 PM UTC+8, Dave Angel wrote:
> On Mon, 11 Nov 2013 01:41:58 -0800 (PST), JL <lightaiyee at gmail.com> 
> 
> 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



More information about the Python-list mailing list