Thread: Help !!!!
View Single Post
  #1   Spotlight this post!  
Unread 28-03-2012, 23:59
NS_Radication's Avatar
NS_Radication NS_Radication is offline
Student
AKA: Marco Schoener
FRC #1369 (Minotaur)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Tampa
Posts: 88
NS_Radication is an unknown quantity at this point
Re: Help !!!!

Quote:
Originally Posted by Ginto8 View Post
To do a cycle, have an int (e.g. basketChoice) and do this on button pressed:
Code:
basketChoice = (basketChoice+1)%NUM_CHOICES;
What can this do? Could this be used to add a ball count to the robot.
__________________
Team 1369
Senior
Head Programmer (Java)
Head Electrician
Reply With Quote