clownbrother
New Member
Hello,
I was wondering if anyone could help me to stop this firefly program, after a set amount of time. The firefly program in question is listed in the forum under fireflies.
This is a great program but I was wondering if it can be stoped after a set amount of time?
The programmer uses some, ...for...next... operations to get random setting to light some LEDs'. Then the programmer uses a ...Return... to start the program over.
I tried to add a third ....for...next... to try and ..end.. the program but it would not work.
Is there anyway to ...end... a program out of the ....for...next... after a set amount of time?
The reason I would like to stop or end the program, is after the sun(or lights) are turned off the fireflies will run until the next morning or a light is turned on. This kind of sucks if they run all night so I would like to turn them off after a few hours, automatic off.
http://www.picaxeforum.co.uk/showthread.php?t=8781&highlight=firefly
Thanks
Clownbrother
I was wondering if anyone could help me to stop this firefly program, after a set amount of time. The firefly program in question is listed in the forum under fireflies.
This is a great program but I was wondering if it can be stoped after a set amount of time?
The programmer uses some, ...for...next... operations to get random setting to light some LEDs'. Then the programmer uses a ...Return... to start the program over.
I tried to add a third ....for...next... to try and ..end.. the program but it would not work.
Is there anyway to ...end... a program out of the ....for...next... after a set amount of time?
The reason I would like to stop or end the program, is after the sun(or lights) are turned off the fireflies will run until the next morning or a light is turned on. This kind of sucks if they run all night so I would like to turn them off after a few hours, automatic off.
http://www.picaxeforum.co.uk/showthread.php?t=8781&highlight=firefly
Thanks
Clownbrother
Last edited: