View Single Post
  #9   Spotlight this post!  
Unread 24-02-2014, 14:55
Sparkyshires Sparkyshires is offline
Registered User
AKA: Michael Shires
FRC #0384 (Sparky)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2006
Location: Virginia
Posts: 226
Sparkyshires is an unknown quantity at this point
Re: BCD switch programming

Thats really neat! I'd never used enums before, I might use them next year The thing is that I would have used int's, but on the robot this year, almost every mechanism has boolean values, as we're using a fair amount of pneumatics. What it would have been helpful for is the shooter, as we're forced to put that in two variables, one for cocked and ready to shoot, and one for whether or not you have a ball.
__________________
"Measure with a micrometer, mark with chalk, cut with an axe."