On 12/03/2011 15:46, Olin Lathrop wrote: > I haven't implemented trig yet for 8 bit PICs as it hasn't come up in tha= t > form yet. However, I'd do that with a lookup table where a full circle i= s > represented as a power of 2. The lookup table contains one quadrant of a > sine. The high bit of the angle then specifies whether to negate the > result, and the next lower bit which direction to index into the table. At least we agree on that. Really we agree on all the other aspects, you=20 just like to nit-pick --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .