|
You might try something like
if RgtMtr > 127 then LftMtr = LftMtr MAX RgtMtr
' If right motor is forward then limit left motors speed to right motors speed.
if RgtMtr < 127 then LftMtr = LftMtr MIN RgtMtr
' If right motor is reverse then limit left motors speed to right motors speed.
Note: This is PBASIC 2.5. It will not run with the 2.0 stamp programmer.
If you need help understanding this, PM me.
__________________
"It's broken? NOOAAHH!!! This is your doing, isn't it!"
"We can fix it in the software!"
"It's a BROKEN GEAR!"
|