Thread: gyro
View Single Post
  #1   Spotlight this post!  
Unread 08-04-2003, 09:59
odin892 odin892 is offline
Registered User
#0892 (team ASCII: All Students Challenging Intellect and Ingenuity)
 
Join Date: Apr 2003
Location: canal winchester, Ohio
Posts: 11
odin892 is an unknown quantity at this point
gyro

the above message has a manual override switch. here is just the gyro code.

If sensor1 > 180 then
balancing_motor = 67
else
If sensor1 < 74 then
balancing_motor = 183
else
If (sensor1 < 137) and (sensor1 > 117) then
balancing_motor = 127
endif
endif
endif