VADCFLL-L Archives

First Lego League in Virginia and DC

VADCFLL-L@LISTSERV.JMU.EDU

Options: Use Forum View

Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Brandy bergenstock <[log in to unmask]>
Reply To:
Brandy bergenstock <[log in to unmask]>
Date:
Wed, 30 Mar 2011 14:43:02 -0700
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (1195 bytes) , text/html (1639 bytes)
I was working with my group today, and we encountered a problem each time we 
tried to cascade three touch sensors.  We created a switch block that 
essentially said- If 2 isn't pressed, then check 1 (a switch that told the NXT), 
if 1 isn't pressed, then check 3, which said if not pressed do nothing.  if 
pressed make motor A run.  

  I was able to run all three as simple parallel bars, but three parallel 
switches didn't work at all.
In fact any parallel programming where a switch ran on one of the lines caused 
the other sensors to not be active at all.  ?
   So this was our problem.  Can anyone tell me how to run 3 motors on different 
touch sensors that allows for a variety of options-
 touch 1- go forward (cb)
touch 2- go back (cb)
touch 1 and 2- turn left (b stop, c move)
Touch 3 move - A (.5 rotation)
I was able to run the program above if I eliminated the 3rd touch sensor. 
Thanks in advance, 
Brandy




-- To UNSUBSCRIBE or CHANGE your settings, please visit https://listserv.jmu.edu/archives/vadcfll-l.html and select "Join or leave the list".

-- VADCFLL administrative announcements are sent via VADCFLL-ADMIN-L. Visit https://listserv.jmu.edu/archives/vadcfll-admin-l.html to subscribe.






      

ATOM RSS1 RSS2