Split action in for loop problems

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
neptunus10000
Posts: 1
Joined: 11 Jul 2012, 16:24

Split action in for loop problems

Post by neptunus10000 »

I have a question. If you see the image below, I want to split (do some things at almost the same time) the control of for example two motors in a for loop. But I can't draw it. If you see the big for loop there it is possible. But this is possible because the switch block is big. How can I draw my problem correct. Can you give me some tips?

Image
hassenplug
Posts: 346
Joined: 27 Sep 2010, 03:05
Contact:

Re: Split action in for loop problems

Post by hassenplug »

Here are some tips for NXT-G programming:

http://www.teamhassenplug.org/NXT/NXTGTips/

Check out tip #6

Steve
---> Link to lots of MINDSTORMS stuff under my picture --->
legostormrobot
Posts: 19
Joined: 12 Jul 2012, 17:48

Re: Split action in for loop problems

Post by legostormrobot »

You know, you can just set the switch to go one way if the touch sensor is pressed and the other way if it isn't without having to put a touch sensor block before it... It just condenses your program a bit. Just a thought! ;)
Noah Allen

Age: 15

"I repeat: I come in peace, I mean you no harm, you all will die. Gallaxar out."
Noah Allen

Age: 15

"The computer was invented to solve problems that didn't exist before."
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests