View Single Post
  #13   Spotlight this post!  
Unread 02-08-2006, 19:04
Eric W. Jones's Avatar
Eric W. Jones Eric W. Jones is offline
Rack & Roll, baby!
FRC #1646 (Precision Guessworks)
Team Role: Programmer
 
Join Date: Jun 2006
Rookie Year: 2006
Location: Lafayette, Indiana
Posts: 231
Eric W. Jones will become famous soon enoughEric W. Jones will become famous soon enough
Re: Globe Motor Programming Questions

We've generally avoided getting the pwms too close to 255. We just put in some code that says something like:

if(p1_y >= 250)
pwm01 = 250

this has worked well for us in the past, as if the pwm output exeeds 255, then it will loop back onto itself and tear up your motors. A pwm output of 256 is essentially 0.

If I'm wrong, please correct me.