Programming Help....
Shabbir Ezzi
Posts: 7
[font=Verdana,]I have the following program, when the program sense that the input 6 is high, it is suppose to show a different menu screen. The problem that i am having is that every time I make input 6 high the program locks up.. can any tell me what I am doing wrong here...[/font]
Comments
The solution is to use only one cog. You don't need a separate cog anyway for the program you listed. Just change the "cognew(MonitorInputs(4),@stack[noparse][[/noparse]0])" to "MonitorInputs(4)" and see what happens.
I suggest you go back to the design stage and discuss all of what you want to accomplish and start with how to divide up various functional tasks among different cogs.· You will waste a lot of time and energy trying to make your existing program work, particularly when you try to add additional functionality.
·