Thread: Limit Switch
View Single Post
  #9   Spotlight this post!  
Unread 22-02-2010, 11:56
NullEntity's Avatar
NullEntity NullEntity is offline
Registered User
AKA: Bryce
FRC #0093 (N.E.W. Apple Corps Robotics)
Team Role: Scout
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Appleton
Posts: 108
NullEntity is an unknown quantity at this point
Re: Limit Switch

Slight tip:
Take out the true in
Code:
while (true && isAutonomous() && isEnabled()) {
.

It's not a biggy at all, but you only want while(true) when you want it to infinitly loop. With other conditionals, it's pointless.
__________________
FRC Team 93 Alumni