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 <lightai...@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 -- https://mail.python.org/mailman/listinfo/python-list