Question - How do I Temporarly stop one method while another one runs?
lockadoc
Posts: 115
I'm working on an object that has one method to make some Leds light up when it's dark, which works fine.
I·also have another method in this object that upon an input will blink the Leds for 2 minutes, which works fine unless the first method sences
darkness which in turn prevents the Leds from blinking because of the over-riding turning on of the Leds.
How do I temporarly over-ride the first method and than return controll to the first one?
Bill S·
I·also have another method in this object that upon an input will blink the Leds for 2 minutes, which works fine unless the first method sences
darkness which in turn prevents the Leds from blinking because of the over-riding turning on of the Leds.
How do I temporarly over-ride the first method and than return controll to the first one?
Bill S·
Comments
In your other thread (on this same project) I showed you how to do this.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
I did not catch that I needed to run the light sensor in a cog of its own
thanks
Bill S
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
Here is my simplistic approach;
Rich H
edit: I noticed that the question is really about something else described in another thread, I'll leave this up as I think it gives an answer for what was asked in this thread.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Simple Servo Tester, a kit from Gadget Gangster.
Post Edited (W9GFO) : 1/18/2010 5:48:49 AM GMT