Thread
:
How to Auto Calibrate
View Single Post
#
10
12-03-2008, 08:52
jamie_1930
Registered User
FRC #2228 (Cougartech)
Team Role: Student
Join Date: Feb 2008
Rookie Year: 2008
Location: Rush-Henrietta
Posts: 371
Re: How to Auto Calibrate
After thinking about this I think I have your code.
if(trig_sw==1)
x1==127
y1==127
x2==127
y2==127
This should be it. Although you still want to check the variables
x1,x2,y1,y2 are supposed to be the joystick direction.
jamie_1930
View Public Profile
Find all posts by jamie_1930
Find CD-Media Photos by jamie_1930
Find CD-Media Papers by jamie_1930