|
Re: Rookie programmer in need of help.
Quote:
|
Originally Posted by kshot
Hello all,
This is pretty much my first year of doing programming in C for purposes other than using it in robots. I was wondering on how to put a line of code in to add a button that would act as a click switch and tell the RC that a button was hit, and then it would proceed onto the next line of programming.
Thanks.
|
Kshot,
Do you want the button to be at the operator interface (such as a momentary switch that the driver pushes) or on the robot (such as a micro switch indicating an arm is at the end of its travel)?
__________________
Mike Betts
Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013
As easy as 355/113...
|