Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   gyro (http://www.chiefdelphi.com/forums/showthread.php?t=20025)

odin892 08-04-2003 09:59

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


All times are GMT -5. The time now is 13:13.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi