On Mon, 2 Jul 2001 08:06:07 -0500 Don Hyde writes: > The usual way to deal with a nonlinear curve from a sensor or > whatever is to > linearize it. One method for doing that is by "curve fitting", > where you > find an analytic equation that reproduces the curve you are > interested in. > A nice tool for this can be found at: > http://www.ebicom.net/~dhyams/cvxpt.htm > > The other common method is to have a table in your program. Your > software > finds the nearest matching value in the table. If that's close > enough for > your application, then you're done. Curve Expert is neat software! I've used it to generate a curve through emperical values, then generate a table to go on the PIC. Harold FCC Rules Online at http://hallikainen.com/FccRules Lighting control for theatre and television at http://www.dovesystems.com ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.