Thread
:
Which is faster?
View Single Post
#
1
26-02-2005, 23:23
Gary Bonner
Registered User
FRC #3974
Join Date: Jan 2002
Rookie Year: 2000
Location: PA
Posts: 120
Which is faster?
Code:
if p1_y > 125 Pwm1_green = 1; else Pwm1_green = 0;
or
Code:
Pwm1_green = p1_y / 126;
Gary Bonner
View Public Profile
Find all posts by Gary Bonner
Find CD-Media Photos by Gary Bonner
Find CD-Media Papers by Gary Bonner