View unanswered posts | View active topics It is currently Tue Sep 02, 2014 5:29 pm






Reply to topic  [ 2 posts ] 
Encoder 
Author Message
Rookie

Joined: Mon Mar 04, 2013 2:36 pm
Posts: 1
Post Encoder
We are trying to use an encoder to stop a program after a value for the motor has been reached. We would like the value on the encoder to reset each time we use the bumpswitch to start the process. Any advice? Thanks,


Mon Mar 04, 2013 2:39 pm
Profile
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 566
Post Re: Encoder
For this one in particular, I would recommend taking a look through ROBOTC's Video Curriculum Trainer, as it contains several videos that deal with concepts that directly relate to what you are trying to do (conditional statements, 'wait till touch' programs, etc). Specifically, you may want to look through the 'Movement -> Shaft Encoders' and the 'Remote Control -> Remote Start' (this deals with the VEXNet Joystick Controller's buttons, but the Bump Switches work very similarly in ROBOTC) section.

Also, you may want to post what code you already have using the [code] tags so we can take a look at it with you and hopefully debug where you are at with the code so far.

_________________
Check out our Blog! And our Facebook page!
Need help? Take a look at our Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody


Mon Mar 04, 2013 5:15 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.