View Single Post
  #3   Spotlight this post!  
Unread 30-01-2010, 21:59
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,517
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Best way to check multiple Boolean values?

I'm struggling to understand a situation where you have that many mutually exclusive buttons.

For instance - we have a button to reverse our front roller, that leads to a case statement that sets the motor speed. We have another case statement that fires the release on the catch.

The two have nothing to do with eachother, and the system works just fine if both are pressed or not pressed at the same time.

What is your situation, more specifically, where you have a bunch of buttons that affect eachother if they are pushed? (That is, if you can tell us without giving away your robot design). I've having trouble defining your problem statement in my head.
Reply With Quote