Vex Fan Forum Index Vex Fan
A community for Vex Robotics fans.
 
 HelpHelp   SearchSearch   Member ListMember List   Live ChatLive Chat   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   LoginLogin 

Help the newbs
Topic Tags:
 
Post new topic   Reply to topic    Vex Fan Forum Index -> General Programming
View previous topic :: View next topic  
Author Message
techteacher



Joined: 04 Nov 2009
Posts: 1

PostPosted: Wed Nov 04, 2009 10:36 am    Post subject: Help the newbs Reply with quote

We are trying to play robot tag and we want to install a bumper switch on the front and the back of the robot that will stop the robot for five seconds and raise a flag when tagged. So far, we have used the if and else commands to stop the robot and raise the flag, but only one bumper switch works. What are we doing wrong?
Our basic program is attached.



Tony.ECP
 Description:

Download
 Filename:  Tony.ECP
 Filesize:  81 Bytes
 Downloaded:  38 Time(s)

Back to top
View user's profile Send private message
MarkO



Joined: 27 Aug 2006
Posts: 258
Location: Albany, Oregon, USA, North Western Hemisphere, Planet Tera

PostPosted: Fri Nov 27, 2009 8:49 pm    Post subject: Re: Help the newbs Reply with quote

techteacher wrote:
We are trying to play robot tag and we want to install a bumper switch on the front and the back of the robot that will stop the robot for five seconds and raise a flag when tagged. So far, we have used the if and else commands to stop the robot and raise the flag, but only one bumper switch works. What are we doing wrong?
Our basic program is attached.



Sorry for the Delay, I just spotted this posting..

If you "switch" the two switches, does the Bumper Switch that works move from one to the other??? This tests that Both Bumper Switches work, and the Second Switch is a Programming Code issue..


The attached File is only the Project File for EasyC, not the Program. Attach the "Tony.BDS" file, or ZIP UP both Tony.ECP and Tony.BDS and then Attach them toy your message..

_________________
MarkO

FRC Team 957 "2007-2009 Professional Mentor"

http://vex.markdoverholser.com/notice.html

http://vex.markdoverholser.com/
http://tech.markdoverholser.com/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Vex Fan Forum Index -> General Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Vex Robotics Design System is a registered trademark of Innovation First, Inc. This site is not owned by, affiliated with or approved by Innovation First.
For official information about the Vex Robotics Design System, visit the Official Vex Website.
All other trademarks and servicemarks are property of their respective owners.
Copyright © 2006-2009 Riley McArdle. All rights reserved worldwide.
Powered by phpBB © 2001, 2005 phpBB Group