v5 loop issue
Posted: Thu Nov 03, 2016 9:01 am
Hi,
I recently started using flowcode v5 since I want to start programming and a lot of people told me that flowcode is great for starting.
However I soon came to an issue. I wanted to make a loop that would end when a specific condition is met. In my case, that condition was a switch (momentary push) being pressed. So I connected a switch to B0 and added an imput that made value of the switch equal to the value of the bool variable also named "switch". So my loop should end when switch=1. However, no matter how I tried to do it, the simulation would always stop at the loop and would never proceed, even when the switch was pressed.
I do believe that the problem is actually me not understanding something rather than something being wrong with the flowcode itself, but that still keeps me empty handed and feeling rather dumb for not knowing something that appears to be basic knowledge. So please help this man see the light
Thank you for your time.
I recently started using flowcode v5 since I want to start programming and a lot of people told me that flowcode is great for starting.
However I soon came to an issue. I wanted to make a loop that would end when a specific condition is met. In my case, that condition was a switch (momentary push) being pressed. So I connected a switch to B0 and added an imput that made value of the switch equal to the value of the bool variable also named "switch". So my loop should end when switch=1. However, no matter how I tried to do it, the simulation would always stop at the loop and would never proceed, even when the switch was pressed.
I do believe that the problem is actually me not understanding something rather than something being wrong with the flowcode itself, but that still keeps me empty handed and feeling rather dumb for not knowing something that appears to be basic knowledge. So please help this man see the light
Thank you for your time.