May 02, 2024, 08:25:44 AM

News:

Be sure to checkout our Vixen interfaces in the Library forum -- if you want PC automation at near zero cost, EFX-TEK and Vixen is a great combination of tools.


Updating Haunt Control Program to Increase Traffic Flow

Started by Spooky Dad, August 13, 2016, 09:44:27 PM

Previous topic - Next topic

Spooky Dad

Hey gents.  Thanks for all the support over the years.  You will be happy to know that, with the help of a friend coming over to start at the Debug Terminal Screen, the simple logic problem was found.   The short answer is that in the FOR NEXT loop scanning the inputs, I was overwriting the Sensor input after the first pass.  I created another variable to "capture" the input and have it be available for the rest of the states and viola! I should note that this is not true multi-processing like the HC-8+ would do.   In other words, if a prop is currently active, then another prop can't be tripped.

bsnut

That's good to hear. Can you show us in the code where you fixed it at, so everyone can see.
William Stefan
The Basic Stamp Nut