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

Button persistence
http://www.robotc.net/forums/viewtopic.php?f=52&t=1039
Page 1 of 1

Author:  Mike [ Wed Dec 17, 2008 12:00 pm ]
Post subject:  Button persistence

If I say:

if(joyBtn(1)) ...

and then the driver takes his finger OFF button 1, is the
IF test still TRUE? Or is it only TRUE while he keeps his finger
on the button?

Author:  Jeff McBride [ Wed Dec 17, 2008 12:53 pm ]
Post subject:  Re: Button persistence

Only while his finger is on the button.

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