ROBOTC.net forums
http://www.robotc.net/forums/

Encoder
http://www.robotc.net/forums/viewtopic.php?f=11&t=5580
Page 1 of 1

Author:  thomasb [ Mon Mar 04, 2013 2:39 pm ]
Post subject:  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,

Author:  JohnWatson [ Mon Mar 04, 2013 5:15 pm ]
Post subject:  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.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/