piclist 2001\04\05\210800a >
Thread: CORDIC Arctan Function?
www.piclist.com/techref/microchip/devices.htm?key=pic
face picon face BY : Olin Lathrop email (remove spam text)



> I'm working on a compass project where I have two magneto resistive
sensors
> connected to a couple PIC analog inputs.  This effectively generates a sin
> and cos value for the angle of the magnetic field.  What is the trig,
> CORDIC, or whatever function that I need to use to turn the sin and cos
> value into a single angle value?

Arctangent.


********************************************************************
Olin Lathrop, embedded systems consultant in Littleton Massachusetts
(978) 742-9014, olinspamembedinc.com, http://www.embedinc.com

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email KILLspamlistservspamBeGonespamKILLspammitvma.mit.edu with SET PICList DIGEST in the body



seeking: mems flash
<000901c0be1d$a55a4720$260bf6cd@pc> 7bit

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) CORDIC Arctan Function?

month overview.

new search...