Thread: Joysticks
View Single Post
  #12   Spotlight this post!  
Unread 04-05-2005, 10:15
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Joysticks

Quote:
Originally Posted by Alan Anderson
Use the equation for a line, y = mx + b.
Take the input value x, multiply it by a factor m, and add an offset b to yield the output value y. The factor can be a floating point value, or to save time you can multiply by an integer and divide by another integer.
To determine the m and b constants, use algebra to solve the pair of equations for the known input and output values.

Thank You Alan

I knew it would be a relatively simple solution.
My years removed from Algebra are many, too many in fact, so some portions of my memory need a little refresh. This will help tremendously.