View Single Post
  #1   Spotlight this post!  
Unread 26-02-2005, 23:23
Gary Bonner Gary Bonner is offline
Registered User
FRC #3974
 
Join Date: Jan 2002
Rookie Year: 2000
Location: PA
Posts: 120
Gary Bonner has a spectacular aura aboutGary Bonner has a spectacular aura about
Which is faster?

Code:
if p1_y > 125
	Pwm1_green = 1;
else
	Pwm1_green = 0;
or

Code:
Pwm1_green = p1_y / 126;