View unanswered posts | View active topics It is currently Sun Sep 21, 2014 9:03 pm






Reply to topic  [ 2 posts ] 
Bump Switch 
Author Message
Rookie

Joined: Mon May 19, 2014 5:05 pm
Posts: 1
Post Bump Switch
I want a program to press the bump switch and run then press it again to stop.
EX.
Press bump
//action
Press bump
//stop
(so this infinite)


Mon May 19, 2014 5:10 pm
Profile
Rookie

Joined: Thu May 31, 2012 4:06 pm
Posts: 22
Location: Pittsburgh, Pa
Post Re: Bump Switch
A possible way to do this would be
Code:
repeat
{
if condition
startTask;
if condition
stopTask;
}

_________________
SHARP
Sarah Heinz Advanced Robotics Program

VEX 889A and FIRST 3260

Pittsburgh Champions Aerial Assist 2014
Pittsburgh and Buckeye Finalist Ultimate Ascent 2013
Toss Up Champions and Excellence-Pittsburgh
Toss Up Champions-Northwest Maryland VRC


Tue May 20, 2014 3:32 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.