View Single Post
  #6   Spotlight this post!  
Unread 18-01-2007, 02:05
brennerator brennerator is offline
Registered User
#1560
 
Join Date: Jan 2005
Location: Silicon Valley
Posts: 75
brennerator is an unknown quantity at this point
Re: Slow down teh motors!

Thats exactly what i was doing:
defualt code here

if (ztrigger pressed)
{
pwm13 = (pwm13-127)/2 + 127
pwm14 = (pwm14-127)/2 +127
and so on...

And this did not work. The robot went wild--if the joystick was shifted even slightly after ztrig was pressed robot would fly outta control.