AussieJimbo Posted September 4, 2013 Posted September 4, 2013 (edited) Sorry for a dumb question but I'm just getting back into NXT 1.0 programming and am having trouble with setting up a loop. There are some activity blocks in a loop with logic control, which needs to repeat until a motor on another branch (parallel sequence beam) of the program has finished moving. I've tried setting a variable after the move command so I can feed "false" into the logic plug on the loop control but I can't seem to get the wire to connect. I must be making some sort of newbie mistake and would be grateful for any guidance. I've looked at some of the links in the Technic index but to no avail. (Anticipating *facepalm* when I work out what I'm doing wrong) Thanks in advance. :classic: Edited September 4, 2013 by AussieJimbo Quote
JoeKaydear Posted September 4, 2013 Posted September 4, 2013 From this example in The Next Step , and possibly adapt it to fit your motor situation instead of a "clapper" sound situation. Be sure to click on the thumbnail image on that topic by Dean Hystad; I can't link it here. Below are images from brdavis. You could also look through these "NXT Break Loop" suggestions. Quote
AussieJimbo Posted September 4, 2013 Author Posted September 4, 2013 Great, I'll give it a go. (I had the variable on only one branch but now I see how it's supposed to work.) :classic: Quote
AussieJimbo Posted September 4, 2013 Author Posted September 4, 2013 Bingo. Thanks for your help, JoeKaydear. Much appreciated. :classic: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.